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

/frameworks/base/libs/hwui/
H A DProgram.h126 bool modulate; member in struct:android::uirenderer::ProgramDescription
173 modulate = false;
207 modulate = a < COLOR_COMPONENT_THRESHOLD;
208 return modulate;
217 modulate = a < COLOR_COMPONENT_THRESHOLD || r > COLOR_COMPONENT_INV_THRESHOLD ||
219 return modulate;
259 if (modulate) key |= programid(0x1) << PROGRAM_MODULATE_SHIFT;
H A DProgramCache.cpp269 // Don't modulate
275 // Don't modulate
309 // Don't modulate
320 // Don't modulate
331 // Don't modulate
597 if (description.modulate || singleColor) {
638 if (!description.modulate) {
645 if (!description.modulate) {
660 if (!description.modulate) {
749 if (description.modulate
[all...]
H A DOpenGLRenderer.cpp1396 mSetShaderColor = mDescription.modulate = true;
1401 // When the blending mode is kClear_Mode, we need to use a modulate color
1409 // When the blending mode is kClear_Mode, we need to use a modulate color

Completed in 176 milliseconds