diff options
author | Chris Dalton <csmartdalton@google.com> | 2017-09-07 18:33:08 +0000 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-09-07 18:33:22 +0000 |
commit | e5ede4b138e84d05d63c9ab7f426884dc9b4d926 (patch) | |
tree | dfbaa75e3d7d3e5e70deed7585419ce2610e9978 /src/gpu/GrSoftwarePathRenderer.h | |
parent | b3e39f67599adf418215652fe714d3883dd5fd88 (diff) |
Revert "Improve GrPathRendererChain heuristics"
This reverts commit 60f42494f5d45c38e260ce089cdddfb600f799b2.
Reason for revert: breaking gold
Original change's description:
> 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: I45aac5462ca1bc0bc839eb1c315db9493901a07e
> Reviewed-on: https://skia-review.googlesource.com/42222
> Reviewed-by: Brian Osman <brianosman@google.com>
> Reviewed-by: Brian Salomon <bsalomon@google.com>
> Commit-Queue: Chris Dalton <csmartdalton@google.com>
TBR=jvanverth@google.com,bsalomon@google.com,brianosman@google.com,csmartdalton@google.com,senorblanco@google.com
Change-Id: I46020dbd56b6f6b88668894285b9b7b80f89b9a2
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:
Reviewed-on: https://skia-review.googlesource.com/43780
Reviewed-by: Chris Dalton <csmartdalton@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Diffstat (limited to 'src/gpu/GrSoftwarePathRenderer.h')
-rw-r--r-- | src/gpu/GrSoftwarePathRenderer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrSoftwarePathRenderer.h b/src/gpu/GrSoftwarePathRenderer.h index d36b2f6486..2421fa4d70 100644 --- a/src/gpu/GrSoftwarePathRenderer.h +++ b/src/gpu/GrSoftwarePathRenderer.h @@ -53,7 +53,7 @@ private: return GrPathRenderer::kNoSupport_StencilSupport; } - CanDrawPath onCanDrawPath(const CanDrawPathArgs&) const override; + bool onCanDrawPath(const CanDrawPathArgs&) const override; bool onDrawPath(const DrawPathArgs&) override; |