Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DProgram.h151 bool isSimpleGradient; member
204 isSimpleGradient = false; in reset()
292 key |= programid(isSimpleGradient) << PROGRAM_IS_SIMPLE_GRADIENT; in key()
DSkiaShader.cpp112 static bool isSimpleGradient(const SkShader::GradientInfo& gradInfo) { in isSimpleGradient() function
151 description->isSimpleGradient = isSimpleGradient(gradInfo); in tryStoreGradient()
163 if (CC_UNLIKELY(!description->isSimpleGradient)) { in tryStoreGradient()
DProgramCache.cpp553 return description.gradientType * 2 + description.isSimpleGradient; in gradientIndex()
692 shader.append(gFS_Uniforms_GradientSampler[description.isSimpleGradient]); in generateFragmentShader()