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.cpp153 glUniform1i(program->getUniform("bitmapSampler"), textureSlot); in setupProgram()
154 glUniformMatrix4fv(program->getUniform("textureTransform"), 1, in setupProgram()
156 glUniform2f(program->getUniform("textureDimension"), 1.0f / width, 1.0f / height); in setupProgram()
163 glUniformMatrix4fv(program->getUniform("textureTransform"), 1, in updateTransforms()
235 glUniform1i(program->getUniform("gradientSampler"), textureSlot); in setupProgram()
236 glUniformMatrix4fv(program->getUniform("screenSpace"), 1, GL_FALSE, &screenSpace.data[0]); in setupProgram()
243 glUniformMatrix4fv(program->getUniform("screenSpace"), 1, GL_FALSE, &screenSpace.data[0]); in updateTransforms()
347 glUniform1i(program->getUniform("gradientSampler"), textureSlot); in setupProgram()
348 glUniformMatrix4fv(program->getUniform("screenSpace"), 1, GL_FALSE, &screenSpace.data[0]); in setupProgram()
355 glUniformMatrix4fv(program->getUniform("screenSpace"), 1, GL_FALSE, &screenSpace.data[0]); in updateTransforms()
DProgram.cpp98 int Program::getUniform(const char* name) { in getUniform() function in android::uirenderer::Program
143 glUniform4f(getUniform("color"), r, g, b, a); in setColor()
DProgram.h62 int getUniform(const char* name);
DOpenGLRenderer.cpp1157 int slot = mCaches.currentProgram->getUniform("pointSize"); in setupDrawPointUniforms()
1202 glUniform1i(mCaches.currentProgram->getUniform("sampler"), mTextureUnit++); in setupDrawTexture()
1210 glUniform1i(mCaches.currentProgram->getUniform("sampler"), mTextureUnit++); in setupDrawExternalTexture()
1221 glUniformMatrix4fv(mCaches.currentProgram->getUniform("mainTextureTransform"), 1, in setupDrawTextureTransformUniforms()
1266 int boundaryWidthSlot = mCaches.currentProgram->getUniform("boundaryWidth"); in setupDrawAALine()
1269 int inverseBoundaryWidthSlot = mCaches.currentProgram->getUniform("inverseBoundaryWidth"); in setupDrawAALine()
1642 int boundaryLengthSlot = mCaches.currentProgram->getUniform("boundaryLength"); in drawAARect()
1643 int inverseBoundaryLengthSlot = mCaches.currentProgram->getUniform("inverseBoundaryLength"); in drawAARect()
1862 mCaches.currentProgram->getUniform("boundaryWidth"); in drawLines()
1864 mCaches.currentProgram->getUniform("inverseBoundaryWidth"); in drawLines()
[all …]