Searched refs:getUniform (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/libs/hwui/ |
D | SkiaShader.cpp | 194 glUniform1i(program->getUniform("bitmapSampler"), textureSlot); in setupProgram() 195 glUniformMatrix4fv(program->getUniform("textureTransform"), 1, in setupProgram() 197 glUniform2f(program->getUniform("textureDimension"), 1.0f / width, 1.0f / height); in setupProgram() 292 glUniform1i(program->getUniform("bitmapSampler"), textureSlot); in setupProgram() 293 glUniformMatrix4fv(program->getUniform("textureTransform"), 1, in setupProgram() 295 glUniform2f(program->getUniform("textureDimension"), 1.0f / shaderInfo.width, in setupProgram() 404 glUniform1i(program->getUniform("gradientSampler"), textureSlot); in setupProgram() 406 bindUniformColor(program->getUniform("startColor"), gradInfo.fColors[0]); in setupProgram() 407 bindUniformColor(program->getUniform("endColor"), gradInfo.fColors[1]); in setupProgram() 430 glUniformMatrix4fv(program->getUniform("screenSpace"), 1, GL_FALSE, &screenSpace.data[0]); in setupProgram()
|
D | Program.cpp | 126 int Program::getUniform(const char* name) { in getUniform() function in android::uirenderer::Program 182 mColorUniform = getUniform("color"); in setColor() 191 glUniform1i(getUniform("baseSampler"), 0); in use()
|
D | Dither.cpp | 97 glUniform1i(program->getUniform("ditherSampler"), textureSlot); in setupProgram()
|
D | GammaFontRenderer.cpp | 128 glUniform1f(program->getUniform("gamma"), description.gamma); in setupProgram()
|
D | Program.h | 339 int getUniform(const char* name);
|
D | OpenGLRenderer.cpp | 1697 glUniform4f(mCaches.currentProgram->getUniform("roundRectInnerRectLTRB"), 1700 glUniformMatrix4fv(mCaches.currentProgram->getUniform("roundRectInvTransform"), 1705 glUniform1f(mCaches.currentProgram->getUniform("roundRectRadius"), 1776 glUniform4f(mCaches.currentProgram->getUniform("colorBlend"), r, g, b, a); 1797 glUniformMatrix4fv(mCaches.currentProgram->getUniform("colorMatrix"), 1, 1799 glUniform4fv(mCaches.currentProgram->getUniform("colorMatrixVector"), 1, colorVector); 1833 glUniformMatrix4fv(mCaches.currentProgram->getUniform("mainTextureTransform"), 1,
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
D | Program.h | 52 GLint getUniform(const char* name) const;
|
D | Program.cpp | 92 GLint Program::getUniform(const char* name) const { in getUniform() function in android::Program
|