Home | History | Annotate | Download | only in effects

Lines Matching defs:GrConfigConversionEffect

8 #include "GrConfigConversionEffect.h"
20 const GrConfigConversionEffect& effect = CastEffect<GrConfigConversionEffect>(s);
37 if (GrConfigConversionEffect::kNone_PMConversion == fPMConversion) {
43 case GrConfigConversionEffect::kMulByAlpha_RoundUp_PMConversion:
48 case GrConfigConversionEffect::kMulByAlpha_RoundDown_PMConversion:
53 case GrConfigConversionEffect::kDivByAlpha_RoundUp_PMConversion:
57 case GrConfigConversionEffect::kDivByAlpha_RoundDown_PMConversion:
70 const GrConfigConversionEffect& effect =
71 GetEffectFromStage<GrConfigConversionEffect>(stage);
79 const GrConfigConversionEffect& effect = GetEffectFromStage<GrConfigConversionEffect>(s);
92 GrConfigConversionEffect::PMConversion fPMConversion;
101 GrConfigConversionEffect::GrConfigConversionEffect(GrTexture* texture,
114 const GrBackendEffectFactory& GrConfigConversionEffect::getFactory() const {
115 return GrTBackendEffectFactory<GrConfigConversionEffect>::getInstance();
118 bool GrConfigConversionEffect::onIsEqual(const GrEffect& s) const {
119 const GrConfigConversionEffect& other = CastEffect<GrConfigConversionEffect>(s);
125 void GrConfigConversionEffect::getConstantColorComponents(GrColor* color,
132 GR_DEFINE_EFFECT_TEST(GrConfigConversionEffect);
134 GrEffectRef* GrConfigConversionEffect::TestCreate(SkRandom* random,
144 AutoEffectUnref effect(SkNEW_ARGS(GrConfigConversionEffect,
153 void GrConfigConversionEffect::TestForPreservingPMConversions(GrContext* context,
216 AutoEffectUnref pmToUPM1(SkNEW_ARGS(GrConfigConversionEffect, (dataTex,
220 AutoEffectUnref upmToPM(SkNEW_ARGS(GrConfigConversionEffect, (readTex,
224 AutoEffectUnref pmToUPM2(SkNEW_ARGS(GrConfigConversionEffect, (tempTex,
264 const GrEffectRef* GrConfigConversionEffect::Create(GrTexture* texture,
269 // If we returned a GrConfigConversionEffect that was equivalent to a GrSimpleTextureEffect
280 AutoEffectUnref effect(SkNEW_ARGS(GrConfigConversionEffect, (texture,