e7a364d435
When path features are exactly a pixel wide, the extruded inner edges can become collinear and then be removed, since their winding is zero. We need these edges to be preserved through triangulation, otherwise opaque portions of the geometry can become transparent. Since the simplify() pass can handle zero-winding edges just fine, the the fix is to simply not remove them. In addition, this changes refactors out disconnect() from all the calls to remove_edge_above()/remove_edge_below(). It also renames the remaining function erase_edge() (since it's now unconditional). Add a new test to a new "thinconcavepaths" GM. BUG=680260 NOTRY=true Change-Id: I1d3a436c95a01c4d4ef5dc05503de4312677f65d Reviewed-on: https://skia-review.googlesource.com/6902 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Stephan White <senorblanco@chromium.org> |
||
---|---|---|
.. | ||
android_framework_defines.gni | ||
ar.py | ||
bench.gni | ||
BUILD.gn | ||
BUILDCONFIG.gn | ||
core.gni | ||
cp.py | ||
effects.gni | ||
find_headers.py | ||
find_ios_sysroot.py | ||
gm.gni | ||
gn_helpers.py | ||
gn_meta_sln.py | ||
gn_to_bp.py | ||
gn_to_cmake.py | ||
gpu.gni | ||
gypi_to_gn.py | ||
is_clang.py | ||
opts.gni | ||
pdf.gni | ||
push_to_android.py | ||
samples.gni | ||
shared_sources.gni | ||
sksl.gni | ||
tests.gni | ||
utils.gni | ||
xps.gni |