Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/shaders/gradients/
DSkGradientShader.cpp310 const bool premulGrad = fGradFlags & SkGradientShader::kInterpolateColorsInPremul_Flag; in onAppendStages() local
315 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()
/third_party/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()