Searched refs:kPremul (Results 1 – 7 of 7) sorted by relevance
49 if (srgbe.alpha() == GrSRGBEffect::Alpha::kPremul) { in emitCode()57 if (srgbe.alpha() == GrSRGBEffect::Alpha::kPremul) { in emitCode()121 return GrSRGBEffect::Make(testMode, Alpha::kPremul); in TestCreate()
21 kPremul, enumerator
97 case Clamp::kPremul: in emitCode()123 auto clamp = kPremul_SkAlphaType == alphaType ? Clamp::kPremul : Clamp::kUnpremul; in Make()139 auto clamp = kPremul_SkAlphaType == alphaType ? Clamp::kPremul : Clamp::kUnpremul; in Make()158 auto clamp = kPremul_SkAlphaType == alphaType ? Clamp::kPremul : Clamp::kUnpremul; in MakeSubset()186 auto clamp = kPremul_SkAlphaType == alphaType ? Clamp::kPremul : Clamp::kUnpremul; in MakeSubset()196 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()
217 GrSRGBEffect::Alpha alpha = GrSRGBEffect::Alpha::kPremul; in asFragmentProcessor()
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()