aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrSoftwarePathRenderer.cpp
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/GrSoftwarePathRenderer.cpp
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/GrSoftwarePathRenderer.cpp')
-rw-r--r--src/gpu/GrSoftwarePathRenderer.cpp8
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 {
////////////////////////////////////////////////////////////////////////////////