diff options
author | senorblanco <senorblanco@chromium.org> | 2016-08-18 10:20:47 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-18 10:20:47 -0700 |
commit | 212c7c389e81053b84a3ed7775f2031d76d5ee70 (patch) | |
tree | 8e0b2f05f6d9f3b4714d974a9d746a6e28afbc18 /tests/StringTest.cpp | |
parent | cee13425b5cd862189d1e5d7cf8f258bccae5f5d (diff) |
Tessellator: better fix for reused-edges issue.
The GrTessellator fix for doubly-added edges in
https://codereview.chromium.org/2259493002/ could leave
a MonotonePoly with zero edges. This is a problem for
Poly::addEdge(), which assumes that MonotonePolys always have
at least one edge. The fix is to move the check and early-out up to
Poly::addEdge(). This should also tighten up the vertex count.
(Unfortunately, the only repro I have for this issue is very
convoluted, and requires non-landed code.)
BUG=skia:5636
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2251643008
Review-Url: https://codereview.chromium.org/2251643008
Diffstat (limited to 'tests/StringTest.cpp')
0 files changed, 0 insertions, 0 deletions