diff options
author | 2015-08-13 07:57:10 -0700 | |
---|---|---|
committer | 2015-08-13 07:57:10 -0700 | |
commit | e7d4b2f5dc3c35f351ba120018c214f739447fb2 (patch) | |
tree | de68366919b95825ae54af04b408f32c1405716b /src/gpu/GrSoftwarePathRenderer.cpp | |
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.cpp')
-rw-r--r-- | src/gpu/GrSoftwarePathRenderer.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gpu/GrSoftwarePathRenderer.cpp b/src/gpu/GrSoftwarePathRenderer.cpp index 401246ea5c..6e2babc259 100644 --- a/src/gpu/GrSoftwarePathRenderer.cpp +++ b/src/gpu/GrSoftwarePathRenderer.cpp @@ -22,14 +22,6 @@ bool GrSoftwarePathRenderer::onCanDrawPath(const CanDrawPathArgs& args) const { return true; } -GrPathRenderer::StencilSupport -GrSoftwarePathRenderer::onGetStencilSupport(const GrDrawTarget*, - const GrPipelineBuilder*, - const SkPath&, - const GrStrokeInfo&) const { - return GrPathRenderer::kNoSupport_StencilSupport; -} - namespace { //////////////////////////////////////////////////////////////////////////////// |