Index: src/gpu/GrSoftwarePathRenderer.h |
diff --git a/src/gpu/GrSoftwarePathRenderer.h b/src/gpu/GrSoftwarePathRenderer.h |
index 6e2055ad972e62409fad886730ce85b967d11567..d7991b84a38715be47dd8f89a0f30e9d2fe942ad 100644 |
--- a/src/gpu/GrSoftwarePathRenderer.h |
+++ b/src/gpu/GrSoftwarePathRenderer.h |
@@ -22,26 +22,15 @@ public: |
GrSoftwarePathRenderer(GrContext* context) |
: fContext(context) { |
} |
- |
- virtual bool canDrawPath(const GrDrawTarget*, |
- const GrPipelineBuilder*, |
- const SkMatrix& viewMatrix, |
- const SkPath&, |
- const GrStrokeInfo&, |
- bool antiAlias) const override; |
-protected: |
+private: |
virtual StencilSupport onGetStencilSupport(const GrDrawTarget*, |
const GrPipelineBuilder*, |
const SkPath&, |
const GrStrokeInfo&) const override; |
+ |
+ bool onCanDrawPath(const CanDrawPathArgs&) const override; |
- virtual bool onDrawPath(GrDrawTarget*, |
- GrPipelineBuilder*, |
- GrColor, |
- const SkMatrix& viewMatrix, |
- const SkPath&, |
- const GrStrokeInfo&, |
- bool antiAlias) override; |
+ bool onDrawPath(const DrawPathArgs&) override; |
private: |
GrContext* fContext; |