commit | 8eb43e5f63306a22570b977bbb69e4ec78432d24 | [log] [tgz] |
---|---|---|
author | bsalomon <bsalomon@google.com> | Wed Sep 21 07:47:34 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed Sep 21 07:47:34 2016 -0700 |
tree | dec674c723a42e56f3e4ec4d69088509b78e4c8e | |
parent | e4a9bd79c676346ada8f4c35fa3a7fd99dfc5544 [diff] [blame] |
Stop closing filled paths in GrShape This can force a copy of the path data and isn't really being taken advantage of. It complicates a forthcoming change to key small paths based on their data rather than gen id. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2355833002 Committed: https://skia.googlesource.com/skia/+/ad001fdc77b2dfe32c1723cb58636728dfb776d8 Review-Url: https://codereview.chromium.org/2355833002
diff --git a/src/gpu/batches/GrMSAAPathRenderer.cpp b/src/gpu/batches/GrMSAAPathRenderer.cpp index 19dd366..d013235 100644 --- a/src/gpu/batches/GrMSAAPathRenderer.cpp +++ b/src/gpu/batches/GrMSAAPathRenderer.cpp
@@ -262,7 +262,7 @@ bool first = true; - SkPath::Iter iter(path, false); + SkPath::Iter iter(path, true); SkPath::Verb verb; SkPoint pts[4]; @@ -474,7 +474,7 @@ SkPoint pts[4]; bool first = true; - SkPath::Iter iter(path, false); + SkPath::Iter iter(path, true); bool done = false; while (!done) {