diff options
author | caryclark <caryclark@google.com> | 2014-11-13 06:58:52 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-13 06:58:52 -0800 |
commit | 65f553182ab7069378ef863d30094d0327f178d0 (patch) | |
tree | 4e7a435941ae82ddd6cab0abcfb2ed7946f79969 /tools/pathops_sorter.htm | |
parent | b1cff03325c42bb1cd87204d9b0dd3d6b9678d3e (diff) |
These tests stress pathops by describing the union of circle-like paths that have tiny line segments embedded and double back to create near-coincident conditions.
The fixes include
- detect when finding the active top loops between two possible answers
- preflight chasing winding to ensure answer is consistent
- binary search more often when quadratic intersection fails
- add more failure paths when an intersect is missed
While this fixes the chrome bug, reenabling path ops in svg should be deferred until additional fixes are landed.
TBR=
BUG=421132
Committed: https://skia.googlesource.com/skia/+/6f726addf3178b01949bb389ef83cf14a1d7b6b2
Review URL: https://codereview.chromium.org/633393002
Diffstat (limited to 'tools/pathops_sorter.htm')
-rw-r--r-- | tools/pathops_sorter.htm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tools/pathops_sorter.htm b/tools/pathops_sorter.htm index 8f00e914e0..a77abd6165 100644 --- a/tools/pathops_sorter.htm +++ b/tools/pathops_sorter.htm @@ -976,11 +976,38 @@ computed quadratics set {{{0.0451734141f, -59.9999847f}, {0.0438041016f, -59.9999886f}, {0.0424379632f, -59.9999886f}, {0.0410718247f, -59.9999886f}}} </div> +<div id="fuzz763_3084"> +{{{38.6568527f, 27.3431454f}, {41, 29.6862907f}, {41, 33}}} +{{{39.131218f, 27.8554096f}, {41, 30.0406685f}, {41, 33}}} +{{{44.6041069f, 27.9369583f}, {41.8078537f, 28.9057903f}, {39.131218f, 27.8554096f}}} +</div> + +<div id="fuzz763_378"> +{{{-52.8062439,14.1493912}, {-53.6638947,10.948595}, {-52.0070419,8.07883835}} +{{-52.8054848,14.1522331}, {-53.6633072,10.9514809}, {-52.0066071,8.08163643}} +</div> + +<div id="fuzz763_378d"> +{{{-37.351398500000002, 10.0082998}, {-36.493801099999999, 13.209099800000001}, {-38.150600400000002, 16.0788002}} +{{-37.350898700000002, 10.010299699999999}, {-36.493099200000003, 13.2110004}, {-38.149799299999998, 16.080900199999999}}} +{{-37.320497331221297, 10.126736679362402}, {-37.320543141534543 fY=10.126556206903867 }} +{{-37.514829818825397, 14.722977321623326}, {=-37.514249241879924 fY=14.725464892492159 }} +</div> + +<div id="fuzz763_6411089"> +{{38.5810318, 38.7318115}, {38.5877266, 38.7252655}, {38.5931816, 38.7199173}} +{{38.5931816, 38.7199173}, {38.5880508, 38.7249527}, {38.5810318, 38.7318115}} +</div> + </div> <script type="text/javascript"> var testDivs = [ + fuzz763_6411089, + fuzz763_378d, + fuzz763_378, + fuzz763_3084, battle6001, issue2753, skpwww_9to5mac_com_64, |