Lines Matching refs:GrEffectRef
35 class GrEffectRef : public SkRefCnt {
37 SK_DECLARE_INST_COUNT(GrEffectRef);
38 virtual ~GrEffectRef();
59 explicit GrEffectRef(GrEffect* effect);
127 bool isEqual(const GrEffectRef& other) const { in isEqual()
233 static GrEffectRef* CreateEffectRef(GrEffect* effect) { in CreateEffectRef()
235 effect->fEffectRef = SkNEW_ARGS(GrEffectRef, (effect)); in CreateEffectRef()
242 static const GrEffectRef* CreateEffectRef(const GrEffect* effect) { in CreateEffectRef()
247 static GrEffectRef* CreateStaticEffectRef(void* refStorage, GrEffect* effect) { in CreateStaticEffectRef()
249 effect->fEffectRef = SkNEW_PLACEMENT_ARGS(refStorage, GrEffectRef, (effect)); in CreateStaticEffectRef()
324 friend class GrEffectRef; // to call EffectRefDestroyed() variable
337 GrEffectRef* fEffectRef;
342 inline GrEffectRef::GrEffectRef(GrEffect* effect) { in GrEffectRef() function
355 k_##NAME##_StorageSize = k_##NAME##_EffectRefOffset + sizeof(GrEffectRef) \
361 static GrEffectRef* NAME(GrEffect::CreateStaticEffectRef(NAME##_RefLocation, NAME##_Effect)); \
362 static SkAutoTDestroy<GrEffectRef> NAME##_Ref_ad(NAME)