diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-02-10 16:46:23 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-02-10 16:46:23 +0000 |
commit | 3e0c64ad1e5e12aca2907a1384ee7dc3d39d5148 (patch) | |
tree | f52833d3ae2b671a3b0dfa890b912fc5611bb7cb /src/gpu/GrSoftwarePathRenderer.h | |
parent | 0888b7534c4b3b1cb17ac428881334e1169c3d9f (diff) |
Stateful PathRenderer implementation
https://codereview.chromium.org/23926019/
git-svn-id: http://skia.googlecode.com/svn/trunk@13384 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrSoftwarePathRenderer.h')
-rw-r--r-- | src/gpu/GrSoftwarePathRenderer.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/gpu/GrSoftwarePathRenderer.h b/src/gpu/GrSoftwarePathRenderer.h index f8c5620f49..6e8cec4e13 100644 --- a/src/gpu/GrSoftwarePathRenderer.h +++ b/src/gpu/GrSoftwarePathRenderer.h @@ -24,17 +24,14 @@ public: : fContext(context) { } - virtual bool canDrawPath(const SkPath&, - const SkStrokeRec&, + virtual bool canDrawPath(const SkStrokeRec&, const GrDrawTarget*, bool antiAlias) const SK_OVERRIDE; protected: - virtual StencilSupport onGetStencilSupport(const SkPath&, - const SkStrokeRec&, + virtual StencilSupport onGetStencilSupport(const SkStrokeRec&, const GrDrawTarget*) const SK_OVERRIDE; - virtual bool onDrawPath(const SkPath&, - const SkStrokeRec&, + virtual bool onDrawPath(const SkStrokeRec&, GrDrawTarget*, bool antiAlias) SK_OVERRIDE; |