diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-12-10 19:10:17 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-12-10 19:10:17 +0000 |
commit | 45a15f551b5b3c6c747d8eaf6466b7d3b76a8fae (patch) | |
tree | 49c9fd68caf3a90c7ed5a1ac89f418d6ce7b4afb /src/gpu/GrSoftwarePathRenderer.h | |
parent | 6f9286202831dd807daf9b1e39271da8f390210e (diff) |
Modifications to GrPatherRenderer(Chain) interfaces to support clip mask manager.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/6904069
git-svn-id: http://skia.googlecode.com/svn/trunk@6741 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrSoftwarePathRenderer.h')
-rw-r--r-- | src/gpu/GrSoftwarePathRenderer.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/gpu/GrSoftwarePathRenderer.h b/src/gpu/GrSoftwarePathRenderer.h index 7c7382cbd6..dd78d6b406 100644 --- a/src/gpu/GrSoftwarePathRenderer.h +++ b/src/gpu/GrSoftwarePathRenderer.h @@ -24,14 +24,18 @@ public: : fContext(context) { } - virtual bool canDrawPath(const SkPath& path, - const SkStroke& stroke, - const GrDrawTarget* target, + virtual bool canDrawPath(const SkPath&, + const SkStroke&, + const GrDrawTarget*, bool antiAlias) const SK_OVERRIDE; protected: - virtual bool onDrawPath(const SkPath& path, - const SkStroke& stroke, - GrDrawTarget* target, + virtual StencilSupport onGetStencilSupport(const SkPath&, + const SkStroke&, + const GrDrawTarget*) const SK_OVERRIDE; + + virtual bool onDrawPath(const SkPath&, + const SkStroke&, + GrDrawTarget*, bool antiAlias) SK_OVERRIDE; private: |