Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DProgram.h130 bool modulate; member
176 modulate = false; in reset()
207 modulate = a < COLOR_COMPONENT_THRESHOLD; in setColorModulate()
208 return modulate; in setColorModulate()
217 modulate = a < COLOR_COMPONENT_THRESHOLD || r > COLOR_COMPONENT_INV_THRESHOLD || in setAlpha8ColorModulate()
219 return modulate; in setAlpha8ColorModulate()
256 if (modulate) key |= programid(0x1) << PROGRAM_MODULATE_SHIFT; in key()
DGlopBuilder.cpp361 mDescription.modulate = mOutGlop->fill.color.isNotBlack(); in setFillTexturePaint()
364 mDescription.modulate = mOutGlop->fill.color.a < 1.0f; in setFillTexturePaint()
386 mDescription.modulate = mOutGlop->fill.color.a < 1.0f; in setFillPaint()
403 mDescription.modulate = mOutGlop->fill.color.isNotBlack(); in setFillPathTexturePaint()
427 mDescription.modulate = mOutGlop->fill.color.isNotBlack(); in setFillShadowTexturePaint()
461 mDescription.modulate = mOutGlop->fill.color.a < 1.0f; in setFillLayer()
475 mDescription.modulate = mOutGlop->fill.color.a < 1.0f; in setFillTextureLayer()
491 mDescription.modulate = mOutGlop->fill.color.a < 1.0f; in setFillExternalTexture()
673 mOutGlop->fill.colorEnabled = mDescription.modulate || singleColor; in build()
DProgramCache.cpp563 if (description.modulate || singleColor) { in generateFragmentShader()
602 if (!description.modulate) { in generateFragmentShader()
609 if (!description.modulate) { in generateFragmentShader()
616 if (!description.modulate) { in generateFragmentShader()
703 if (description.modulate && applyModulate) { in generateFragmentShader()