Home
last modified time | relevance | path

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

12345

/external/skia/src/gpu/
DGrDrawTarget.cpp23 GrDrawTarget::DrawInfo& GrDrawTarget::DrawInfo::operator =(const DrawInfo& di) { in operator =()
48 bool GrDrawTarget::DrawInfo::isInstanced() const { in isInstanced()
65 void GrDrawTarget::DrawInfo::adjustInstanceCount(int instanceOffset) { in adjustInstanceCount()
73 void GrDrawTarget::DrawInfo::adjustStartVertex(int vertexOffset) { in adjustStartVertex()
78 void GrDrawTarget::DrawInfo::adjustStartIndex(int indexOffset) { in adjustStartIndex()
89 GrDrawTarget::GrDrawTarget(GrContext* context) in GrDrawTarget() function in GrDrawTarget
109 GrDrawTarget::~GrDrawTarget() { in ~GrDrawTarget()
117 void GrDrawTarget::releaseGeometry() { in releaseGeometry()
127 void GrDrawTarget::setClip(const GrClipData* clip) { in setClip()
132 const GrClipData* GrDrawTarget::getClip() const { in getClip()
[all …]
DGrDefaultPathRenderer.h24 const GrDrawTarget*,
31 const GrDrawTarget*) const SK_OVERRIDE;
35 GrDrawTarget*,
40 GrDrawTarget*) SK_OVERRIDE;
44 GrDrawTarget*,
50 GrDrawTarget*,
54 GrDrawTarget::AutoReleaseGeometry*);
DGrTest.h22 void init(GrContext*, GrDrawTarget*);
24 GrDrawTarget* target() { return fDrawTarget.get(); } in target()
27 SkTLazy<GrDrawTarget::AutoStateRestore> fASR;
28 SkTLazy<GrDrawTarget::AutoClipRestore> fACR;
29 SkTLazy<GrDrawTarget::AutoGeometryPush> fAGP;
31 SkAutoTUnref<GrDrawTarget> fDrawTarget;
DGrOvalRenderer.h15 class GrDrawTarget; variable
34 bool drawOval(GrDrawTarget* target, const GrContext* context, bool useAA,
36 bool drawRRect(GrDrawTarget* target, GrContext* context, bool useAA,
38 bool drawDRRect(GrDrawTarget* target, GrContext* context, bool useAA,
42 bool drawEllipse(GrDrawTarget* target, bool useCoverageAA,
45 bool drawDIEllipse(GrDrawTarget* target, bool useCoverageAA,
48 void drawCircle(GrDrawTarget* target, bool useCoverageAA,
DGrAARectRenderer.h17 class GrDrawTarget; variable
43 GrDrawTarget* target, in fillAARect()
64 GrDrawTarget* target,
73 GrDrawTarget* target,
91 GrDrawTarget* target,
98 GrDrawTarget* target,
103 GrDrawTarget* target,
108 GrDrawTarget* target,
DGrDrawTarget.h31 class GrDrawTarget : public SkRefCnt {
36 SK_DECLARE_INST_COUNT(GrDrawTarget)
42 GrDrawTarget(GrContext* context);
43 virtual ~GrDrawTarget();
573 AutoStateRestore(GrDrawTarget* target, ASRInit init, const SkMatrix* viewMatrix = NULL);
590 void set(GrDrawTarget* target, ASRInit init, const SkMatrix* viewMatrix = NULL);
598 bool setIdentity(GrDrawTarget* target, ASRInit init);
601 GrDrawTarget* fDrawTarget;
610 AutoReleaseGeometry(GrDrawTarget* target,
615 bool set(GrDrawTarget* target,
[all …]
DGrPathRenderer.h86 const GrDrawTarget* target) const { in getStencilSupport()
105 const GrDrawTarget* target,
118 GrDrawTarget* target, in drawPath()
135 void stencilPath(const SkPath& path, const SkStrokeRec& stroke, GrDrawTarget* target) { in stencilPath()
161 const GrDrawTarget*) const { in onGetStencilSupport() argument
170 GrDrawTarget* target,
177 … virtual void onStencilPath(const SkPath& path, const SkStrokeRec& stroke, GrDrawTarget* target) { in onStencilPath()
178 GrDrawTarget::AutoStateRestore asr(target, GrDrawTarget::kPreserve_ASRInit); in onStencilPath()
DGrAAHairLinePathRenderer.h22 const GrDrawTarget* target,
32 GrDrawTarget* target,
41 GrDrawTarget* target,
44 GrDrawTarget::AutoReleaseGeometry* arg,
48 GrDrawTarget* target,
55 GrDrawTarget::AutoReleaseGeometry* arg,
DGrTest.cpp14 void GrTestTarget::init(GrContext* ctx, GrDrawTarget* target) { in init()
20 SkNEW_IN_TLAZY(&fASR, GrDrawTarget::AutoStateRestore, (target, GrDrawTarget::kReset_ASRInit)); in init()
21 SkNEW_IN_TLAZY(&fACR, GrDrawTarget::AutoClipRestore, (target)); in init()
22 SkNEW_IN_TLAZY(&fAGP, GrDrawTarget::AutoGeometryPush, (target)); in init()
DGrStencilAndCoverPathRenderer.h30 const GrDrawTarget*,
36 const GrDrawTarget*) const SK_OVERRIDE;
40 GrDrawTarget*,
45 GrDrawTarget*) SK_OVERRIDE;
DGrDefaultPathRenderer.cpp168 const GrDrawTarget*) const { in onGetStencilSupport()
193 GrDrawTarget* target, in createGeom()
197 GrDrawTarget::AutoReleaseGeometry* arg) { in createGeom()
328 GrDrawTarget* target, in internalDrawPath()
352 GrDrawTarget::AutoReleaseGeometry arg; in internalDrawPath()
365 GrDrawTarget::AutoStateRestore asr(target, GrDrawTarget::kPreserve_ASRInit); in internalDrawPath()
493 GrDrawTarget::AutoGeometryAndStatePush agasp(target, GrDrawTarget::kPreserve_ASRInit); in internalDrawPath()
512 const GrDrawTarget* target, in canDrawPath()
523 GrDrawTarget* target, in onDrawPath()
533 GrDrawTarget* target) { in onStencilPath()
DGrSoftwarePathRenderer.h29 const GrDrawTarget*,
34 const GrDrawTarget*) const SK_OVERRIDE;
38 GrDrawTarget*,
/external/chromium_org/third_party/skia/src/gpu/
DGrDrawTarget.cpp24 GrDrawTarget::DrawInfo& GrDrawTarget::DrawInfo::operator =(const DrawInfo& di) { in operator =()
49 bool GrDrawTarget::DrawInfo::isInstanced() const { in isInstanced()
66 void GrDrawTarget::DrawInfo::adjustInstanceCount(int instanceOffset) { in adjustInstanceCount()
74 void GrDrawTarget::DrawInfo::adjustStartVertex(int vertexOffset) { in adjustStartVertex()
79 void GrDrawTarget::DrawInfo::adjustStartIndex(int indexOffset) { in adjustStartIndex()
90 GrDrawTarget::GrDrawTarget(GrContext* context) in GrDrawTarget() function in GrDrawTarget
110 GrDrawTarget::~GrDrawTarget() { in ~GrDrawTarget()
118 void GrDrawTarget::releaseGeometry() { in releaseGeometry()
128 void GrDrawTarget::setClip(const GrClipData* clip) { in setClip()
133 const GrClipData* GrDrawTarget::getClip() const { in getClip()
[all …]
DGrDefaultPathRenderer.h24 const GrDrawTarget*,
31 const GrDrawTarget*) const SK_OVERRIDE;
35 GrDrawTarget*,
40 GrDrawTarget*) SK_OVERRIDE;
44 GrDrawTarget*,
50 GrDrawTarget*,
54 GrDrawTarget::AutoReleaseGeometry*);
DGrTest.h22 void init(GrContext*, GrDrawTarget*);
24 GrDrawTarget* target() { return fDrawTarget.get(); } in target()
27 SkTLazy<GrDrawTarget::AutoStateRestore> fASR;
28 SkTLazy<GrDrawTarget::AutoClipRestore> fACR;
29 SkTLazy<GrDrawTarget::AutoGeometryPush> fAGP;
31 SkAutoTUnref<GrDrawTarget> fDrawTarget;
DGrOvalRenderer.h15 class GrDrawTarget; variable
34 bool drawOval(GrDrawTarget* target, const GrContext* context, bool useAA,
36 bool drawRRect(GrDrawTarget* target, GrContext* context, bool useAA,
38 bool drawDRRect(GrDrawTarget* target, GrContext* context, bool useAA,
42 bool drawEllipse(GrDrawTarget* target, bool useCoverageAA,
45 bool drawDIEllipse(GrDrawTarget* target, bool useCoverageAA,
48 void drawCircle(GrDrawTarget* target, bool useCoverageAA,
DGrAARectRenderer.h17 class GrDrawTarget; variable
43 GrDrawTarget* target, in fillAARect()
61 GrDrawTarget* target,
69 GrDrawTarget* target,
84 GrDrawTarget* target,
90 GrDrawTarget* target,
95 GrDrawTarget* target,
100 GrDrawTarget* target,
DGrDrawTarget.h33 class GrDrawTarget : public SkRefCnt {
38 SK_DECLARE_INST_COUNT(GrDrawTarget)
47 GrDrawTarget(GrContext* context);
48 virtual ~GrDrawTarget();
551 AutoStateRestore(GrDrawTarget* target, ASRInit init, const SkMatrix* viewMatrix = NULL);
568 void set(GrDrawTarget* target, ASRInit init, const SkMatrix* viewMatrix = NULL);
576 bool setIdentity(GrDrawTarget* target, ASRInit init);
579 GrDrawTarget* fDrawTarget;
588 AutoReleaseGeometry(GrDrawTarget* target,
593 bool set(GrDrawTarget* target,
[all …]
DGrPathRenderer.h86 const GrDrawTarget* target) const { in getStencilSupport()
105 const GrDrawTarget* target,
118 GrDrawTarget* target, in drawPath()
135 void stencilPath(const SkPath& path, const SkStrokeRec& stroke, GrDrawTarget* target) { in stencilPath()
161 const GrDrawTarget*) const { in onGetStencilSupport() argument
170 GrDrawTarget* target,
177 … virtual void onStencilPath(const SkPath& path, const SkStrokeRec& stroke, GrDrawTarget* target) { in onStencilPath()
178 GrDrawTarget::AutoStateRestore asr(target, GrDrawTarget::kPreserve_ASRInit); in onStencilPath()
DGrAAHairLinePathRenderer.h22 const GrDrawTarget* target,
32 GrDrawTarget* target,
41 GrDrawTarget* target,
44 GrDrawTarget::AutoReleaseGeometry* arg,
48 GrDrawTarget* target,
55 GrDrawTarget::AutoReleaseGeometry* arg,
DGrTest.cpp14 void GrTestTarget::init(GrContext* ctx, GrDrawTarget* target) { in init()
20 SkNEW_IN_TLAZY(&fASR, GrDrawTarget::AutoStateRestore, (target, GrDrawTarget::kReset_ASRInit)); in init()
21 SkNEW_IN_TLAZY(&fACR, GrDrawTarget::AutoClipRestore, (target)); in init()
22 SkNEW_IN_TLAZY(&fAGP, GrDrawTarget::AutoGeometryPush, (target)); in init()
DGrStencilAndCoverPathRenderer.h30 const GrDrawTarget*,
36 const GrDrawTarget*) const SK_OVERRIDE;
40 GrDrawTarget*,
45 GrDrawTarget*) SK_OVERRIDE;
DGrDefaultPathRenderer.cpp168 const GrDrawTarget*) const { in onGetStencilSupport()
193 GrDrawTarget* target, in createGeom()
197 GrDrawTarget::AutoReleaseGeometry* arg) { in createGeom()
328 GrDrawTarget* target, in internalDrawPath()
352 GrDrawTarget::AutoReleaseGeometry arg; in internalDrawPath()
365 GrDrawTarget::AutoStateRestore asr(target, GrDrawTarget::kPreserve_ASRInit); in internalDrawPath()
493 GrDrawTarget::AutoGeometryAndStatePush agasp(target, GrDrawTarget::kPreserve_ASRInit); in internalDrawPath()
512 const GrDrawTarget* target, in canDrawPath()
523 GrDrawTarget* target, in onDrawPath()
533 GrDrawTarget* target) { in onStencilPath()
DGrSoftwarePathRenderer.cpp16 const GrDrawTarget*, in canDrawPath() argument
28 const GrDrawTarget*) const { in onGetStencilSupport()
38 bool get_path_and_clip_bounds(const GrDrawTarget* target, in get_path_and_clip_bounds()
76 void draw_around_inv_path(GrDrawTarget* target, in draw_around_inv_path()
112 GrDrawTarget* target, in onDrawPath()
DGrSoftwarePathRenderer.h29 const GrDrawTarget*,
34 const GrDrawTarget*) const SK_OVERRIDE;
38 GrDrawTarget*,

12345