diff options
author | 2018-06-29 17:02:21 -0400 | |
---|---|---|
committer | 2018-07-02 21:03:43 +0000 | |
commit | 24289e05d55ccdc04ef239c7972d2b52e402ad0f (patch) | |
tree | fe43efa9e511fa7ef67355d929436761ab36b1d4 /src/gpu/GrRectanizer_skyline.cpp | |
parent | e886e80e8b204460a78dabf5c671b7f4146d71f7 (diff) |
GrTessellator: handle three consecutive collinear edges.
In some cases, splitting may produce three consecutive edges which
are collinear. The first one was being merged out, causing the third
one to be missed.
The fix is to switch the arguments to merge_edges_*, ensuring that the
second parameter (the destination edge) is never merged out.
Bug: 851409
Change-Id: I65be2e8222846c99f7bc8d17ea61ddead617cc31
Reviewed-on: https://skia-review.googlesource.com/138700
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
Diffstat (limited to 'src/gpu/GrRectanizer_skyline.cpp')
0 files changed, 0 insertions, 0 deletions