Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/gpu/
DGrDataUtils.cpp553 bool clampGamut; in GrConvertPixels() local
559 clampGamut = dstIsNormalized && dstInfo.alphaType() == kPremul_SkAlphaType; in GrConvertPixels()
561 clampGamut = in GrConvertPixels()
563 if (!clampGamut) { in GrConvertPixels()
582 bool hasConversion = alphaOrCSConversion || clampGamut; in GrConvertPixels()
602 if (clampGamut) { in GrConvertPixels()
/third_party/skia/src/gpu/
DGrDataUtils.cpp612 bool clampGamut; in GrConvertPixels() local
617 clampGamut = dstIsNormalized && dst.alphaType() == kPremul_SkAlphaType; in GrConvertPixels()
619 clampGamut = dstIsNormalized && !srcIsNormalized && dst.alphaType() == kPremul_SkAlphaType; in GrConvertPixels()
620 if (!clampGamut) { in GrConvertPixels()
640 bool hasConversion = alphaOrCSConversion || clampGamut || lumMode != LumMode::kNone; in GrConvertPixels()
660 if (clampGamut) { in GrConvertPixels()