give up if huge paths have unresolvable coincidence
authorcaryclark <caryclark@google.com>
Tue, 5 Apr 2016 14:28:48 +0000 (07:28 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 5 Apr 2016 14:28:48 +0000 (07:28 -0700)
commit5c5cfe24efe4c728e787447dabffe345080d1fb9
treec8b9c3d926c3e1806542c30b561a1be9dbceccce
parent3b597388b35967a751fb055d0b8fcc30b443b5a8
give up if huge paths have unresolvable coincidence

This fuzzy test has enormous curves with coincidence runs that break numerics.
If the computed intersections identify that the span of coincidence has been deleted,
give up and return that the path op failed.

TBR=reed@google.com
BUG=597926
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1854333002

Review URL: https://codereview.chromium.org/1854333002
src/pathops/SkOpCoincidence.cpp
src/pathops/SkOpCoincidence.h
src/pathops/SkPathOpsCommon.cpp
tests/PathOpsOpTest.cpp