Descriptionbreak ambiguous angle sorting loop
A pair of cubics may be difficult to sort if the tangents suggest
one sort but the midpoints suggest a different one. When in this
gray area, and when the cumulative sort of all the angles fails to
resolve, reverse the sort to break the tie.
Before, when tiger8 was run through the signed distance field
generated directly from the path data, the simplify call might
hang since the angle could not be resolved. If the endless loop
is detected, and if there is no tie to break, just fail instead.
TBR=reed@google.com
BUG=skia:5131
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2426753002
Committed: https://skia.googlesource.com/skia/+/b36a3cd137e2b6c328854015018594bb9967e493
Patch Set 1 #Patch Set 2 : add separate chalkboard test #Patch Set 3 : fix linux warning #
Messages
Total messages: 9 (5 generated)
|