Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/renderstate/
DRenderState.cpp291 glUniform4f(mCaches->program().getUniform("colorBlend"), in render()
294 glUniformMatrix4fv(mCaches->program().getUniform("colorMatrix"), 1, GL_FALSE, in render()
296 glUniform4fv(mCaches->program().getUniform("colorMatrixVector"), 1, in render()
311 glUniform4f(fill.program->getUniform("roundRectInnerRectLTWH"), in render()
316 glUniformMatrix4fv(fill.program->getUniform("roundRectInvTransform"), in render()
319 glUniform1f(fill.program->getUniform("roundRectRadius"), in render()
350 glUniformMatrix4fv(fill.program->getUniform("mainTextureTransform"), 1, in render()
390 glUniformMatrix3fv(fill.program->getUniform("colorSpaceMatrix"), 1, in render()
403 glUniform1fv(fill.program->getUniform("transferFunction"), 7, in render()
407 glUniform1fv(fill.program->getUniform("transferFunction"), 5, in render()
[all …]
/frameworks/base/libs/hwui/
DSkiaShader.cpp189 glUniform1i(caches.program().getUniform("gradientSampler"), data.gradientSampler); in applyGradient()
191 bindUniformColor(caches.program().getUniform("startColor"), data.startColor); in applyGradient()
192 bindUniformColor(caches.program().getUniform("endColor"), data.endColor); in applyGradient()
195 glUniform2f(caches.program().getUniform("screenSize"), 1.0f / width, 1.0f / height); in applyGradient()
196 glUniformMatrix4fv(caches.program().getUniform("screenSpace"), 1, in applyGradient()
257 glUniform1i(caches.program().getUniform("bitmapSampler"), data.bitmapSampler); in applyBitmap()
258 glUniformMatrix4fv(caches.program().getUniform("textureTransform"), 1, GL_FALSE, in applyBitmap()
260 glUniform2fv(caches.program().getUniform("textureDimension"), 1, &data.textureDimension[0]); in applyBitmap()
DProgram.cpp123 int Program::getUniform(const char* name) { in getUniform() function in android::uirenderer::Program
179 mColorUniform = getUniform("color"); in setColor()
188 glUniform1i(getUniform("baseSampler"), 0); in use()
DProgram.h367 int getUniform(const char* name);
/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