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

/frameworks/base/libs/hwui/
H A DProgram.h141 bool isSimpleGradient; member in struct:android::uirenderer::ProgramDescription
183 isSimpleGradient = false;
261 if (isSimpleGradient) key |= programid(0x1) << PROGRAM_IS_SIMPLE_GRADIENT;
H A DProgramCache.cpp436 return description.gradientType * 2 + description.isSimpleGradient;
573 shader.appendFormat(gFS_Uniforms_GradientSampler[description.isSimpleGradient],
617 shader.appendFormat(gFS_Fast_SingleGradient[description.isSimpleGradient],
620 shader.appendFormat(gFS_Fast_SingleModulateGradient[description.isSimpleGradient],
H A DSkiaShader.cpp112 static bool isSimpleGradient(const SkShader::GradientInfo& gradInfo) { function in namespace:android::uirenderer
151 description->isSimpleGradient = isSimpleGradient(gradInfo);
163 if (CC_UNLIKELY(!isSimpleGradient(gradInfo))) {

Completed in 347 milliseconds