Searched refs:premulGrad (Results 1 – 2 of 2) sorted by relevance
310 const bool premulGrad = fGradFlags & SkGradientShader::kInterpolateColorsInPremul_Flag; in onAppendStages() local315 auto prepareColor = [premulGrad, &xformedColors](int i) { in onAppendStages()317 return premulGrad ? c.premul() in onAppendStages()330 ctx->interpolatedInPremul = premulGrad; in onAppendStages()335 ctx->interpolatedInPremul = premulGrad; in onAppendStages()408 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()