Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DSkiaColorFilter.cpp57 glUniformMatrix4fv(program->getUniform("colorMatrix"), 1, GL_FALSE, &mMatrix[0]); in setupProgram()
58 glUniform4fv(program->getUniform("colorMatrixVector"), 1, mVector); in setupProgram()
81 glUniform4f(program->getUniform("lightingMul"), mMulR, mMulG, mMulB, 1.0f); in setupProgram()
82 glUniform4f(program->getUniform("lightingAdd"), mAddR, mAddG, mAddB, 0.0f); in setupProgram()
104 glUniform4f(program->getUniform("colorBlend"), mR, mG, mB, mA); in setupProgram()
DSkiaShader.cpp148 glUniform1i(program->getUniform("bitmapSampler"), textureSlot); in setupProgram()
149 glUniformMatrix4fv(program->getUniform("textureTransform"), 1, in setupProgram()
151 glUniform2f(program->getUniform("textureDimension"), 1.0f / width, 1.0f / height); in setupProgram()
158 glUniformMatrix4fv(program->getUniform("textureTransform"), 1, in updateTransforms()
230 glUniform1i(program->getUniform("gradientSampler"), textureSlot); in setupProgram()
231 glUniformMatrix4fv(program->getUniform("screenSpace"), 1, GL_FALSE, &screenSpace.data[0]); in setupProgram()
238 glUniformMatrix4fv(program->getUniform("screenSpace"), 1, GL_FALSE, &screenSpace.data[0]); in updateTransforms()
342 glUniform1i(program->getUniform("gradientSampler"), textureSlot); in setupProgram()
343 glUniformMatrix4fv(program->getUniform("screenSpace"), 1, GL_FALSE, &screenSpace.data[0]); in setupProgram()
350 glUniformMatrix4fv(program->getUniform("screenSpace"), 1, GL_FALSE, &screenSpace.data[0]); in updateTransforms()
DProgram.cpp125 int Program::getUniform(const char* name) { in getUniform() function in android::uirenderer::Program
172 mColorUniform = getUniform("color"); in setColor()
181 glUniform1i(getUniform("sampler"), 0); in use()
DProgram.h315 int getUniform(const char* name);
DOpenGLRenderer.cpp1274 int slot = mCaches.currentProgram->getUniform("pointSize"); in setupDrawPointUniforms()
1334 glUniformMatrix4fv(mCaches.currentProgram->getUniform("mainTextureTransform"), 1, in setupDrawTextureTransformUniforms()
1396 int boundaryWidthSlot = mCaches.currentProgram->getUniform("boundaryWidth"); in setupDrawAALine()
1400 int inverseBoundaryWidthSlot = mCaches.currentProgram->getUniform("inverseBoundaryWidth"); in setupDrawAALine()
1809 int boundaryLengthSlot = mCaches.currentProgram->getUniform("boundaryLength"); in drawAARect()
1810 int inverseBoundaryLengthSlot = mCaches.currentProgram->getUniform("inverseBoundaryLength"); in drawAARect()
2050 mCaches.currentProgram->getUniform("boundaryWidth"); in drawLines()
2052 mCaches.currentProgram->getUniform("inverseBoundaryWidth"); in drawLines()
2060 boundaryLengthSlot = mCaches.currentProgram->getUniform("boundaryLength"); in drawLines()
2062 mCaches.currentProgram->getUniform("inverseBoundaryLength"); in drawLines()