diff options
author | Stephen White <senorblanco@chromium.org> | 2017-02-03 10:15:16 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-02-03 15:47:07 +0000 |
commit | 48ded38da99c1171ba1bb469f6500f8214e9105c (patch) | |
tree | 436983de2d33153e7eefe22ec9c0c8faf9590efc /tests/InfRectTest.cpp | |
parent | 0f90668c122ba4c9a39b57a9b3d0880e3feb5e17 (diff) |
GrTessellator (AA): Fix for missing fill artifacts.
Some regions were being incorrectly filled due to setting
connector edges winding to zero *after* merging collinear edges.
This would cause the merge to add the wrong winding value. Putting the
adjust before the call to merge_collinear_edges() fixes the problem.
Also, some pixels were not getting coverage due the inner edge being
+1 winding. Using -2 winding for inner edges ensure the interior
regions are -1 winding, which gives coverage in more cases of
self-intersection. This required flipping the comparisons on the
intruding-vertices workaround.
BUG=skia:
Change-Id: I216fa3d30c196a6b7773637e48802f6572c993c7
Reviewed-on: https://skia-review.googlesource.com/7962
Commit-Queue: Stephan White <senorblanco@chromium.org>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'tests/InfRectTest.cpp')
0 files changed, 0 insertions, 0 deletions