Home
last modified time | relevance | path

Searched refs:modulate (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
Dfill_test.rs46 float4 modulate;
67 static void displaySingletexFill(bool blend, int quadCount, bool modulate) {
79 if (modulate) {
84 gFragData->modulate.r = 0.8f;
85 gFragData->modulate.g = 0.7f;
86 gFragData->modulate.b = 0.8f;
87 gFragData->modulate.a = 0.5f;
/frameworks/base/libs/hwui/
DProgram.h120 bool modulate; member
161 modulate = false; in reset()
191 modulate = a < COLOR_COMPONENT_THRESHOLD || r < COLOR_COMPONENT_THRESHOLD || in setColor()
193 return modulate; in setColor()
202 modulate = a < COLOR_COMPONENT_THRESHOLD || r > COLOR_COMPONENT_INV_THRESHOLD || in setAlpha8Color()
204 return modulate; in setAlpha8Color()
244 if (modulate) key |= programid(0x1) << PROGRAM_MODULATE_SHIFT; in key()
DProgramCache.cpp502 if (description.modulate || singleColor) { in generateFragmentShader()
539 if (!description.modulate) { in generateFragmentShader()
546 if (!description.modulate) { in generateFragmentShader()
553 if (!description.modulate) { in generateFragmentShader()
603 if ((!description.hasGradient && !description.hasBitmap) || description.modulate) { in generateFragmentShader()
645 if (description.modulate && applyModulate) { in generateFragmentShader()
DOpenGLRenderer.cpp1209 mSetShaderColor = mDescription.modulate = true; in accountForClear()