commit | 6663acff010ce752e4bf778da81fa97448c9db31 | [log] [tgz] |
---|---|---|
author | bsalomon <bsalomon@google.com> | Tue May 10 09:14:17 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue May 10 09:14:17 2016 -0700 |
tree | ba48f7716f7ef948d9faac90599b8a555c0f51d3 | |
parent | 44d427e048b2e290e086dc2c9f9227818388ef17 [diff] [blame] |
Replace GrStrokeInfo with GrStyle. A side effect is that arbitrary path effects can no be pushed deeper into the Ganesh flow for paths. They may be applied by path renderers. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1957363002 Committed: https://skia.googlesource.com/skia/+/33595bdf4b64a745f6340338d307e806e96c587f Review-Url: https://codereview.chromium.org/1957363002
diff --git a/src/gpu/GrPathRendererChain.cpp b/src/gpu/GrPathRendererChain.cpp index c9e21ad..8994186 100644 --- a/src/gpu/GrPathRendererChain.cpp +++ b/src/gpu/GrPathRendererChain.cpp
@@ -79,7 +79,7 @@ } if (minStencilSupport != GrPathRenderer::kNoSupport_StencilSupport) { // We don't support (and shouldn't need) stenciling of non-fill paths. - if (!args.fStroke->isFillStyle() || args.fStroke->isDashed()) { + if (!args.fStyle->isSimpleFill()) { return nullptr; } }