Searched refs:isSimpleGradient (Results 1 – 3 of 3) sorted by relevance
151 bool isSimpleGradient; member204 isSimpleGradient = false; in reset()292 key |= programid(isSimpleGradient) << PROGRAM_IS_SIMPLE_GRADIENT; in key()
112 static bool isSimpleGradient(const SkShader::GradientInfo& gradInfo) { in isSimpleGradient() function151 description->isSimpleGradient = isSimpleGradient(gradInfo); in tryStoreGradient()163 if (CC_UNLIKELY(!description->isSimpleGradient)) { in tryStoreGradient()
553 return description.gradientType * 2 + description.isSimpleGradient; in gradientIndex()692 shader.append(gFS_Uniforms_GradientSampler[description.isSimpleGradient]); in generateFragmentShader()