Home
last modified time | relevance | path

Searched refs:GrEffectRef (Results 1 – 25 of 106) sorted by relevance

12345

/external/skia/include/gpu/
DGrEffect.h35 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()
[all …]
DGrEffectUnitTest.h35 class GrEffectRef; variable
41 typedef GrEffectRef* (*CreateProc)(SkRandom*,
51 static GrEffectRef* CreateStage(SkRandom* random, in CreateStage()
70 static GrEffectRef* TestCreate(SkRandom*, \
94 static GrEffectRef* TestCreate(SkRandom*, \
DGrPaint.h90 const GrEffectRef* addColorEffect(const GrEffectRef* effect, int attr0 = -1, int attr1 = -1) {
102 … const GrEffectRef* addCoverageEffect(const GrEffectRef* effect, int attr0 = -1, int attr1 = -1) {
DGrEffectStage.h23 explicit GrEffectStage(const GrEffectRef* effectRef, int attrIndex0 = -1, int attrIndex1 = -1)
90 SkDEBUGCODE(mutable SkAutoTUnref<const GrEffectRef> fEffectRef;)
211 const GrEffectRef* getEffect() const { return fEffectRef.get(); } in getEffect()
219 SkAutoTUnref<const GrEffectRef> fEffectRef;
/external/skia/src/gpu/effects/
DGrBicubicEffect.h40 static GrEffectRef* Create(GrTexture* tex, const SkScalar coefficients[16],
57 static GrEffectRef* Create(GrTexture* tex, const SkMatrix& matrix, in Create()
66 static GrEffectRef* Create(GrTexture* tex, const SkScalar coefficients[16], in Create()
75 static GrEffectRef* Create(GrTexture* tex, const SkMatrix& matrix, const SkRect& domain) { in Create()
DGrConvexPolyEffect.h40 static GrEffectRef* Create(GrEffectEdgeType edgeType, int n, const SkScalar edges[]) { in Create()
53 static GrEffectRef* Create(GrEffectEdgeType, const SkPath&, const SkVector* offset = NULL);
58 static GrEffectRef* Create(GrEffectEdgeType, const SkRect&);
DGrDitherEffect.cpp22 static GrEffectRef* Create() { in Create()
58 GrEffectRef* DitherEffect::TestCreate(SkRandom*, in TestCreate()
113 GrEffectRef* GrDitherEffect::Create() { in Create()
DGrDitherEffect.h14 class GrEffectRef; variable
20 GrEffectRef* Create();
DGrOvalEffect.h14 class GrEffectRef; variable
21 GrEffectRef* Create(GrEffectEdgeType, const SkRect&);
DGrRRectEffect.h14 class GrEffectRef; variable
22 GrEffectRef* Create(GrEffectEdgeType, const SkRRect&);
DGrSimpleTextureEffect.h26 static GrEffectRef* Create(GrTexture* tex,
34 static GrEffectRef* Create(GrTexture* tex,
43 static GrEffectRef* Create(GrTexture* tex,
DGrConvexPolyEffect.cpp27 static GrEffectRef* Create(GrEffectEdgeType edgeType, const SkRect& rect) { in Create()
67 GrEffectRef* AARectEffect::TestCreate(SkRandom* random, in TestCreate()
75 GrEffectRef* effect; in TestCreate()
265 GrEffectRef* GrConvexPolyEffect::Create(GrEffectEdgeType type, const SkPath& path, const SkVector* … in Create()
315 GrEffectRef* GrConvexPolyEffect::Create(GrEffectEdgeType edgeType, const SkRect& rect) { in Create()
357 GrEffectRef* GrConvexPolyEffect::TestCreate(SkRandom* random, in TestCreate()
367 GrEffectRef* effect; in TestCreate()
DGrOvalEffect.cpp22 static GrEffectRef* Create(GrEffectEdgeType, const SkPoint& center, SkScalar radius);
52 GrEffectRef* CircleEffect::Create(GrEffectEdgeType edgeType, in Create()
84 GrEffectRef* CircleEffect::TestCreate(SkRandom* random, in TestCreate()
193 static GrEffectRef* Create(GrEffectEdgeType, const SkPoint& center, SkScalar rx, SkScalar ry);
223 GrEffectRef* EllipseEffect::Create(GrEffectEdgeType edgeType, in Create()
256 GrEffectRef* EllipseEffect::TestCreate(SkRandom* random, in TestCreate()
371 GrEffectRef* GrOvalEffect::Create(GrEffectEdgeType edgeType, const SkRect& oval) { in Create()
DGrDistanceFieldTextureEffect.h26 static GrEffectRef* Create(GrTexture* tex, const GrTextureParams& params, in Create()
33 static GrEffectRef* Create(GrTexture* tex, const GrTextureParams& params, in Create()
84 static GrEffectRef* Create(GrTexture* tex, const GrTextureParams& params, in Create()
DGrConfigConversionEffect.cpp121 GrEffectRef* GrConfigConversionEffect::TestCreate(SkRandom* random, in TestCreate()
216 SkAutoTUnref<GrEffectRef> pmToUPMEffect1(CreateEffectRef(pmToUPM1)); in TestForPreservingPMConversions()
217 SkAutoTUnref<GrEffectRef> upmToPMEffect(CreateEffectRef(upmToPM)); in TestForPreservingPMConversions()
218 SkAutoTUnref<GrEffectRef> pmToUPMEffect2(CreateEffectRef(pmToUPM2)); in TestForPreservingPMConversions()
255 const GrEffectRef* GrConfigConversionEffect::Create(GrTexture* texture, in Create()
DGrBezierEffect.cpp146 GrEffectRef* GrConicEffect::TestCreate(SkRandom* random, in TestCreate()
150 GrEffectRef* effect; in TestCreate()
284 GrEffectRef* GrQuadEffect::TestCreate(SkRandom* random, in TestCreate()
288 GrEffectRef* effect; in TestCreate()
432 GrEffectRef* GrCubicEffect::TestCreate(SkRandom* random, in TestCreate()
436 GrEffectRef* effect; in TestCreate()
DGrBezierEffect.h60 static GrEffectRef* Create(const GrEffectEdgeType edgeType, const GrDrawTargetCaps& caps) { in Create()
127 static GrEffectRef* Create(const GrEffectEdgeType edgeType, const GrDrawTargetCaps& caps) { in Create()
196 static GrEffectRef* Create(const GrEffectEdgeType edgeType, const GrDrawTargetCaps& caps) { in Create()
DGrConvolutionEffect.h25 static GrEffectRef* Create(GrTexture* tex, in Create()
41 static GrEffectRef* CreateGaussian(GrTexture* tex, in CreateGaussian()
/external/skia/src/gpu/
DGrEffect.cpp62 GrEffectRef::~GrEffectRef() { in ~GrEffectRef()
68 void* GrEffectRef::operator new(size_t size) { in operator new()
72 void GrEffectRef::operator delete(void* target) { in operator delete()
DGrPaint.cpp15 GrEffectRef* effect = GrSimpleTextureEffect::Create(texture, matrix); in addColorTextureEffect()
20 GrEffectRef* effect = GrSimpleTextureEffect::Create(texture, matrix); in addCoverageTextureEffect()
27 GrEffectRef* effect = GrSimpleTextureEffect::Create(texture, matrix, params); in addColorTextureEffect()
34 GrEffectRef* effect = GrSimpleTextureEffect::Create(texture, matrix, params); in addCoverageTextureEffect()
/external/skia/src/effects/gradients/
DSkTwoPointConicalGradient_gpu.h13 class GrEffectRef; variable
21 GrEffectRef* Create(GrContext* ctx, const SkTwoPointConicalGradient& shader,
DSkTwoPointConicalGradient_gpu.cpp62 static GrEffectRef* Create(GrContext* ctx, in Create()
176 GrEffectRef* Edge2PtConicalEffect::TestCreate(SkRandom* random, in TestCreate()
206 GrEffectRef* effect; in TestCreate()
369 static GrEffectRef* Create(GrContext* ctx, in Create()
453 GrEffectRef* FocalOutside2PtConicalEffect::TestCreate(SkRandom* random, in TestCreate()
480 GrEffectRef* effect; in TestCreate()
584 static GrEffectRef* Create(GrContext* ctx, in Create()
663 GrEffectRef* FocalInside2PtConicalEffect::TestCreate(SkRandom* random, in TestCreate()
693 GrEffectRef* grEffect; in TestCreate()
818 static GrEffectRef* Create(GrContext* ctx, in Create()
[all …]
/external/skia/src/gpu/gl/
DGrGLProgramEffects.h110 void emitSamplers(GrGLShaderBuilder*, const GrEffectRef&, TextureSamplerArray*);
115 void bindTextures(GrGpuGL*, const GrEffectRef&, int effectIdx);
191 const GrEffectRef&,
280 const GrEffectRef&,
/external/skia/include/core/
DSkXfermode.h16 class GrEffectRef; variable
201 virtual bool asNewEffect(GrEffectRef** effect, GrTexture* background = NULL) const;
209 GrEffectRef** effect,
DSkColorFilter.h18 class GrEffectRef; variable
129 virtual GrEffectRef* asNewEffect(GrContext*) const;

12345