Home
last modified time | relevance | path

Searched refs:getUniform (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/libs/hwui/
DSkiaShader.cpp194 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()
DProgram.cpp126 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()
DDither.cpp97 glUniform1i(program->getUniform("ditherSampler"), textureSlot); in setupProgram()
DGammaFontRenderer.cpp128 glUniform1f(program->getUniform("gamma"), description.gamma); in setupProgram()
DProgram.h339 int getUniform(const char* name);
DOpenGLRenderer.cpp1697 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/
DProgram.h52 GLint getUniform(const char* name) const;
DProgram.cpp92 GLint Program::getUniform(const char* name) const { in getUniform() function in android::Program