Home
last modified time | relevance | path

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

/external/skqp/src/gpu/effects/
DGrSRGBEffect.cpp49 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()
DGrSRGBEffect.h21 kPremul, enumerator
/external/skia/src/gpu/effects/
DGrBicubicEffect.cpp97 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()
DGrBicubicEffect.h105 kPremul, // clamps a to 0..1 and rgb to 0..a enumerator
/external/skqp/src/opts/
DSkSwizzler_opts.h371 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()
/external/skqp/src/core/
DSkColorFilter.cpp217 GrSRGBEffect::Alpha alpha = GrSRGBEffect::Alpha::kPremul; in asFragmentProcessor()
/external/skia/src/opts/
DSkSwizzler_opts.h234 static void expand_grayA(bool kPremul, uint32_t dst[], const uint8_t* src, int count) { in expand_grayA() argument
240 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()