aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrAAHairLinePathRenderer.h
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-11 16:30:21 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-11 16:30:21 +0000
commite79f320ed6c5ec9f6164ba84be1ff586532e6517 (patch)
treef3c649d3be2f8d1ebea5f8a2fc438d1b507cdb9f /src/gpu/GrAAHairLinePathRenderer.h
parent27d7ede2e64bddeacce4a0d83bc055bf966cce2f (diff)
Revert of r13384 (Stateful PathRenderer implementation)
Diffstat (limited to 'src/gpu/GrAAHairLinePathRenderer.h')
-rw-r--r--src/gpu/GrAAHairLinePathRenderer.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gpu/GrAAHairLinePathRenderer.h b/src/gpu/GrAAHairLinePathRenderer.h
index 627474abdb..22cc876eab 100644
--- a/src/gpu/GrAAHairLinePathRenderer.h
+++ b/src/gpu/GrAAHairLinePathRenderer.h
@@ -17,7 +17,8 @@ public:
static GrPathRenderer* Create(GrContext* context);
- virtual bool canDrawPath(const SkStrokeRec& stroke,
+ virtual bool canDrawPath(const SkPath& path,
+ const SkStrokeRec& stroke,
const GrDrawTarget* target,
bool antiAlias) const SK_OVERRIDE;
@@ -26,7 +27,8 @@ public:
typedef SkTArray<float, true> FloatArray;
protected:
- virtual bool onDrawPath(const SkStrokeRec& stroke,
+ virtual bool onDrawPath(const SkPath& path,
+ const SkStrokeRec& stroke,
GrDrawTarget* target,
bool antiAlias) SK_OVERRIDE;