Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/
DGrDataUtils.cpp668 bool clampGamut; in GrConvertPixels() local
673 clampGamut = dstIsNormalized && dst.alphaType() == kPremul_SkAlphaType; in GrConvertPixels()
675 clampGamut = dstIsNormalized && !srcIsNormalized && dst.alphaType() == kPremul_SkAlphaType; in GrConvertPixels()
676 if (!clampGamut) { in GrConvertPixels()
696 bool hasConversion = alphaOrCSConversion || clampGamut || lumMode != LumMode::kNone; in GrConvertPixels()
716 if (clampGamut) { in GrConvertPixels()