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.h132 bool modulate; member
181 modulate = false; in reset()
215 modulate = a < COLOR_COMPONENT_THRESHOLD; in setColorModulate()
216 return modulate; in setColorModulate()
225 modulate = a < COLOR_COMPONENT_THRESHOLD || r > COLOR_COMPONENT_INV_THRESHOLD || in setAlpha8ColorModulate()
227 return modulate; in setAlpha8ColorModulate()
264 if (modulate) key |= programid(0x1) << PROGRAM_MODULATE_SHIFT; in key()
DGlopBuilder.cpp349 mDescription.modulate = mOutGlop->fill.color.isNotBlack(); in setFillTexturePaint()
352 mDescription.modulate = mOutGlop->fill.color.a < 1.0f; in setFillTexturePaint()
366 mDescription.modulate = mOutGlop->fill.color.a < 1.0f; in setFillPaint()
383 mDescription.modulate = mOutGlop->fill.color.isNotBlack(); in setFillPathTexturePaint()
407 mDescription.modulate = mOutGlop->fill.color.isNotBlack(); in setFillShadowTexturePaint()
442 mDescription.modulate = mOutGlop->fill.color.a < 1.0f; in setFillLayer()
457 mDescription.modulate = mOutGlop->fill.color.a < 1.0f; in setFillTextureLayer()
629 mOutGlop->fill.colorEnabled = mDescription.modulate || singleColor; in build()
DProgramCache.cpp585 if (description.modulate || singleColor) { in generateFragmentShader()
627 if (!description.modulate) { in generateFragmentShader()
634 if (!description.modulate) { in generateFragmentShader()
649 if (!description.modulate) { in generateFragmentShader()
737 if (description.modulate && applyModulate) { in generateFragmentShader()