aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/ops/GrMSAAPathRenderer.h
diff options
context:
space:
mode:
authorGravatar Chris Dalton <csmartdalton@google.com>2017-09-07 13:22:46 -0600
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-09-07 22:18:53 +0000
commit5ed4423090e63e4c7888d6dd44fde177adea13f3 (patch)
tree83a3f92bc0630a8777d08bd9da1a097c82943b14 /src/gpu/ops/GrMSAAPathRenderer.h
parent2199e0bc7cbd2c834a93ab2cc83ee1bfdd79a0ed (diff)
Improve GrPathRendererChain heuristics
Changes GrPathRenderer::canDrawPath to return a 'CanDrawPath' enum, which contains a new kAsBackup value that means "I'm better than SW, but give the path renderers below me a chance first." Bug: skia: Change-Id: Ia339567800a3127e61b9beaed19504cd504f18af Reviewed-on: https://skia-review.googlesource.com/43761 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Chris Dalton <csmartdalton@google.com>
Diffstat (limited to 'src/gpu/ops/GrMSAAPathRenderer.h')
-rw-r--r--src/gpu/ops/GrMSAAPathRenderer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/ops/GrMSAAPathRenderer.h b/src/gpu/ops/GrMSAAPathRenderer.h
index 13d3e15a7e..1353867f16 100644
--- a/src/gpu/ops/GrMSAAPathRenderer.h
+++ b/src/gpu/ops/GrMSAAPathRenderer.h
@@ -15,7 +15,7 @@ class SK_API GrMSAAPathRenderer : public GrPathRenderer {
private:
StencilSupport onGetStencilSupport(const GrShape&) const override;
- bool onCanDrawPath(const CanDrawPathArgs&) const override;
+ CanDrawPath onCanDrawPath(const CanDrawPathArgs&) const override;
bool onDrawPath(const DrawPathArgs&) override;