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

/frameworks/base/libs/hwui/
H A DProgram.h131 bool modulate; member in struct:android::uirenderer::ProgramDescription
180 modulate = false;
214 modulate = a < COLOR_COMPONENT_THRESHOLD;
215 return modulate;
224 modulate = a < COLOR_COMPONENT_THRESHOLD || r > COLOR_COMPONENT_INV_THRESHOLD ||
226 return modulate;
263 if (modulate) key |= programid(0x1) << PROGRAM_MODULATE_SHIFT;
H A DProgramCache.cpp246 // Don't modulate
252 // Don't modulate
286 // Don't modulate
297 // Don't modulate
308 // Don't modulate
588 if (description.modulate || singleColor) {
630 if (!description.modulate) {
637 if (!description.modulate) {
652 if (!description.modulate) {
740 if (description.modulate
[all...]
H A DOpenGLRenderer.cpp1665 mSetShaderColor = mDescription.modulate = true;
1671 // When the blending mode is kClear_Mode, we need to use a modulate color
1682 // When the blending mode is kClear_Mode, we need to use a modulate color

Completed in 108 milliseconds