Searched refs:GrSRGBEffect (Results 1 – 6 of 6) sorted by relevance
18 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 GrSRGBEffect85 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 …]
13 class GrSRGBEffect : public GrFragmentProcessor {29 return sk_sp<GrFragmentProcessor>(new GrSRGBEffect(mode, alpha)); in Make()38 GrSRGBEffect(Mode mode, Alpha);
220 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()
153 paint.addColorFragmentProcessor(GrSRGBEffect::Make(GrSRGBEffect::Mode::kSRGBToLinear, in refAsTextureProxy()154 GrSRGBEffect::Alpha::kOpaque)); in refAsTextureProxy()
357 "$_src/gpu/effects/GrSRGBEffect.cpp",358 "$_src/gpu/effects/GrSRGBEffect.h",
455 "src/gpu/effects/GrSRGBEffect.cpp",