diff options
author | 2014-02-10 16:46:23 +0000 | |
---|---|---|
committer | 2014-02-10 16:46:23 +0000 | |
commit | 3e0c64ad1e5e12aca2907a1384ee7dc3d39d5148 (patch) | |
tree | f52833d3ae2b671a3b0dfa890b912fc5611bb7cb /src/gpu/GrStencilAndCoverPathRenderer.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/GrStencilAndCoverPathRenderer.h')
-rw-r--r-- | src/gpu/GrStencilAndCoverPathRenderer.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/gpu/GrStencilAndCoverPathRenderer.h b/src/gpu/GrStencilAndCoverPathRenderer.h index 9ebcec9858..4cd6581503 100644 --- a/src/gpu/GrStencilAndCoverPathRenderer.h +++ b/src/gpu/GrStencilAndCoverPathRenderer.h @@ -25,23 +25,19 @@ public: virtual ~GrStencilAndCoverPathRenderer(); - 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; - virtual void onStencilPath(const SkPath&, - const SkStrokeRec&, + virtual void onStencilPath(const SkStrokeRec&, GrDrawTarget*) SK_OVERRIDE; private: |