Searched refs:kPremul (Results 1 – 7 of 7) sorted by relevance
49 if (srgbe.alpha() == GrSRGBEffect::Alpha::kPremul) { in emitCode()58 if (srgbe.alpha() == GrSRGBEffect::Alpha::kPremul) { in emitCode()122 return GrSRGBEffect::Make(testMode, Alpha::kPremul); in TestCreate()
21 kPremul, enumerator
94 case Clamp::kPremul: in emitCode()120 auto clamp = kPremul_SkAlphaType == alphaType ? Clamp::kPremul : Clamp::kUnpremul; in Make()136 auto clamp = kPremul_SkAlphaType == alphaType ? Clamp::kPremul : Clamp::kUnpremul; in Make()155 auto clamp = kPremul_SkAlphaType == alphaType ? Clamp::kPremul : Clamp::kUnpremul; in MakeSubset()183 auto clamp = kPremul_SkAlphaType == alphaType ? Clamp::kPremul : Clamp::kUnpremul; in MakeSubset()193 auto clamp = kPremul_SkAlphaType == alphaType ? Clamp::kPremul : Clamp::kUnpremul; in Make()
105 kPremul, // clamps a to 0..1 and rgb to 0..a enumerator
371 template <bool kPremul>378 if (kPremul) { in expand_grayA()403 if (kPremul) { in expand_grayA()421 auto proc = kPremul ? grayA_to_rgbA_portable : grayA_to_RGBA_portable; in expand_grayA()
234 static void expand_grayA(bool kPremul, uint32_t dst[], const uint8_t* src, int count) { in expand_grayA() argument240 if (kPremul) { in expand_grayA()265 if (kPremul) { in expand_grayA()283 auto proc = kPremul ? grayA_to_rgbA_portable : grayA_to_RGBA_portable; in expand_grayA()
193 GrSRGBEffect::Alpha alpha = GrSRGBEffect::Alpha::kPremul; in asFragmentProcessor()