Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrDataUtils.cpp608 bool clampGamut; in GrConvertPixels() local
613 clampGamut = dstIsNormalized && dst.alphaType() == kPremul_SkAlphaType; in GrConvertPixels()
615 clampGamut = dstIsNormalized && !srcIsNormalized && dst.alphaType() == kPremul_SkAlphaType; in GrConvertPixels()
616 if (!clampGamut) { in GrConvertPixels()
636 bool hasConversion = alphaOrCSConversion || clampGamut || lumMode != LumMode::kNone; in GrConvertPixels()
656 if (clampGamut) { in GrConvertPixels()