aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrDashLinePathRenderer.h
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2015-08-13 07:57:10 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-13 07:57:10 -0700
commite7d4b2f5dc3c35f351ba120018c214f739447fb2 (patch)
treede68366919b95825ae54af04b408f32c1405716b /src/gpu/GrDashLinePathRenderer.h
parent15f4951e84a0aef2ed31b2e66129579feaa18850 (diff)
Simplify parameters passed to path renderers
It appears that CanDrawPathArgs::fTarget was only ever used to access the shaderCaps and no instances of onGetStencilSupport ever used the drawTarget and pipelineBuilder parameters. Review URL: https://codereview.chromium.org/1291803006
Diffstat (limited to 'src/gpu/GrDashLinePathRenderer.h')
-rw-r--r--src/gpu/GrDashLinePathRenderer.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gpu/GrDashLinePathRenderer.h b/src/gpu/GrDashLinePathRenderer.h
index 2e37665e51..f21c73b688 100644
--- a/src/gpu/GrDashLinePathRenderer.h
+++ b/src/gpu/GrDashLinePathRenderer.h
@@ -15,11 +15,8 @@ class GrDashLinePathRenderer : public GrPathRenderer {
private:
bool onCanDrawPath(const CanDrawPathArgs&) const override;
- StencilSupport onGetStencilSupport(const GrDrawTarget*,
- const GrPipelineBuilder*,
- const SkPath&,
- const GrStrokeInfo&) const override {
- return kNoSupport_StencilSupport;
+ StencilSupport onGetStencilSupport(const SkPath&, const GrStrokeInfo&) const override {
+ return kNoSupport_StencilSupport;
}
bool onDrawPath(const DrawPathArgs&) override;