Home
last modified time | relevance | path

Searched refs:singleColor (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/
DProgramCache.cpp679 const bool singleColor = !description.hasTexture && !description.hasExternalTexture && in generateFragmentShader() local
682 if (description.modulate || singleColor) { in generateFragmentShader()
684 if (!singleColor) modulateOp = MODULATE_OP_MODULATE; in generateFragmentShader()
DGlopBuilder.cpp646 const bool singleColor = !mDescription.hasTexture in build() local
650 mOutGlop->fill.colorEnabled = mDescription.modulate || singleColor; in build()