diff options
author | robertphillips <robertphillips@google.com> | 2015-08-13 07:57:10 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-13 07:57:10 -0700 |
commit | e7d4b2f5dc3c35f351ba120018c214f739447fb2 (patch) | |
tree | de68366919b95825ae54af04b408f32c1405716b /src/gpu/GrSoftwarePathRenderer.h | |
parent | 15f4951e84a0aef2ed31b2e66129579feaa18850 (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/GrSoftwarePathRenderer.h')
-rw-r--r-- | src/gpu/GrSoftwarePathRenderer.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gpu/GrSoftwarePathRenderer.h b/src/gpu/GrSoftwarePathRenderer.h index d7991b84a3..72a95152e2 100644 --- a/src/gpu/GrSoftwarePathRenderer.h +++ b/src/gpu/GrSoftwarePathRenderer.h @@ -23,10 +23,9 @@ public: : fContext(context) { } private: - virtual StencilSupport onGetStencilSupport(const GrDrawTarget*, - const GrPipelineBuilder*, - const SkPath&, - const GrStrokeInfo&) const override; + StencilSupport onGetStencilSupport(const SkPath&, const GrStrokeInfo&) const override { + return GrPathRenderer::kNoSupport_StencilSupport; + } bool onCanDrawPath(const CanDrawPathArgs&) const override; |