Searched refs:premulGrad (Results 1 – 2 of 2) sorted by relevance
311 const bool premulGrad = fGradFlags & SkGradientShader::kInterpolateColorsInPremul_Flag; in onAppendStages() local316 auto prepareColor = [premulGrad, &xformedColors](int i) { in onAppendStages()318 return premulGrad ? c.premul() in onAppendStages()331 ctx->interpolatedInPremul = premulGrad; in onAppendStages()336 ctx->interpolatedInPremul = premulGrad; in onAppendStages()409 if (!premulGrad && !this->colorsAreOpaque()) { in onAppendStages()
316 const bool premulGrad = fGradFlags & SkGradientShader::kInterpolateColorsInPremul_Flag; in onAppendStages() local321 auto prepareColor = [premulGrad, &xformedColors](int i) { in onAppendStages()323 return premulGrad ? c.premul() in onAppendStages()336 ctx->interpolatedInPremul = premulGrad; in onAppendStages()341 ctx->interpolatedInPremul = premulGrad; in onAppendStages()414 if (!premulGrad && !this->colorsAreOpaque()) { in onAppendStages()