aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrSoftwarePathRenderer.h
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2014-11-17 14:22:48 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-11-17 14:22:49 -0800
commit9853ccef19c200be93a6211f32589fa82a53067c (patch)
treefd07ff890581f7df7b99021e5bc42f75539c6050 /src/gpu/GrSoftwarePathRenderer.h
parentb079ec682d6f049e5f0df83efa41a1eaa50215c6 (diff)
Drawstate on stack
Diffstat (limited to 'src/gpu/GrSoftwarePathRenderer.h')
-rw-r--r--src/gpu/GrSoftwarePathRenderer.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/gpu/GrSoftwarePathRenderer.h b/src/gpu/GrSoftwarePathRenderer.h
index bc355327f1..620e00b993 100644
--- a/src/gpu/GrSoftwarePathRenderer.h
+++ b/src/gpu/GrSoftwarePathRenderer.h
@@ -23,18 +23,21 @@ public:
: fContext(context) {
}
- virtual bool canDrawPath(const SkPath&,
+ virtual bool canDrawPath(const GrDrawTarget*,
+ const GrDrawState*,
+ const SkPath&,
const SkStrokeRec&,
- const GrDrawTarget*,
bool antiAlias) const SK_OVERRIDE;
protected:
- virtual StencilSupport onGetStencilSupport(const SkPath&,
- const SkStrokeRec&,
- const GrDrawTarget*) const SK_OVERRIDE;
-
- virtual bool onDrawPath(const SkPath&,
+ virtual StencilSupport onGetStencilSupport(const GrDrawTarget*,
+ const GrDrawState*,
+ const SkPath&,
+ const SkStrokeRec&) const SK_OVERRIDE;
+
+ virtual bool onDrawPath(GrDrawTarget*,
+ GrDrawState*,
+ const SkPath&,
const SkStrokeRec&,
- GrDrawTarget*,
bool antiAlias) SK_OVERRIDE;
private: