Home
last modified time | relevance | path

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

/external/skia/src/gpu/effects/
DGrSRGBEffect.cpp18 const GrSRGBEffect& srgbe = args.fFp.cast<GrSRGBEffect>(); in emitCode()
26 case GrSRGBEffect::Mode::kLinearToSRGB: in emitCode()
35 case GrSRGBEffect::Mode::kSRGBToLinear: in emitCode()
51 if (srgbe.alpha() == GrSRGBEffect::Alpha::kPremul) { in emitCode()
59 if (srgbe.alpha() == GrSRGBEffect::Alpha::kPremul) { in emitCode()
67 const GrSRGBEffect& srgbe = processor.cast<GrSRGBEffect>(); in GenKey()
79 GrSRGBEffect::GrSRGBEffect(Mode mode, Alpha alpha) in GrSRGBEffect() function in GrSRGBEffect
85 this->initClassID<GrSRGBEffect>(); in GrSRGBEffect()
88 bool GrSRGBEffect::onIsEqual(const GrFragmentProcessor& s) const { in onIsEqual()
89 const GrSRGBEffect& other = s.cast<GrSRGBEffect>(); in onIsEqual()
[all …]
DGrSRGBEffect.h13 class GrSRGBEffect : public GrFragmentProcessor {
29 return sk_sp<GrFragmentProcessor>(new GrSRGBEffect(mode, alpha)); in Make()
38 GrSRGBEffect(Mode mode, Alpha);
/external/skia/src/core/
DSkColorFilter.cpp220 GrSRGBEffect::Alpha alpha = GrSRGBEffect::Alpha::kPremul; in asFragmentProcessor()
223 return GrSRGBEffect::Make(GrSRGBEffect::Mode::kLinearToSRGB, alpha); in asFragmentProcessor()
225 return GrSRGBEffect::Make(GrSRGBEffect::Mode::kSRGBToLinear, alpha); in asFragmentProcessor()
/external/skia/src/gpu/
DGrYUVProvider.cpp153 paint.addColorFragmentProcessor(GrSRGBEffect::Make(GrSRGBEffect::Mode::kSRGBToLinear, in refAsTextureProxy()
154 GrSRGBEffect::Alpha::kOpaque)); in refAsTextureProxy()
/external/skia/gn/
Dgpu.gni357 "$_src/gpu/effects/GrSRGBEffect.cpp",
358 "$_src/gpu/effects/GrSRGBEffect.h",
/external/skia/
DAndroid.bp455 "src/gpu/effects/GrSRGBEffect.cpp",