Home
last modified time | relevance | path

Searched refs:premulGrad (Results 1 – 2 of 2) sorted by relevance

/external/skqp/src/shaders/gradients/
DSkGradientShader.cpp311 const bool premulGrad = fGradFlags & SkGradientShader::kInterpolateColorsInPremul_Flag; in onAppendStages() local
316 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()
/external/skia/src/shaders/gradients/
DSkGradientShader.cpp316 const bool premulGrad = fGradFlags & SkGradientShader::kInterpolateColorsInPremul_Flag; in onAppendStages() local
321 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()