From 08bc8488fa2ea2d2a17efb1443f0ec6579d5a3c8 Mon Sep 17 00:00:00 2001 From: caryclark Date: Fri, 24 Apr 2015 09:08:57 -0700 Subject: fix multiple intersection logic When three or more curves intersect at the same point, ensure that each curve records the intersections of the others. This fixes a number of cubic tests. TBR=reed@google.com BUG=skia:3588 Review URL: https://codereview.chromium.org/1105943002 --- tests/PathOpsExtendedTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/PathOpsExtendedTest.cpp') diff --git a/tests/PathOpsExtendedTest.cpp b/tests/PathOpsExtendedTest.cpp index c316242f75..92b0e87465 100644 --- a/tests/PathOpsExtendedTest.cpp +++ b/tests/PathOpsExtendedTest.cpp @@ -289,7 +289,7 @@ int comparePaths(skiatest::Reporter* reporter, const char* filename, const SkPat return errors2x2 > MAX_ERRORS ? errors2x2 : 0; } -const int gTestFirst = 6; +const int gTestFirst = 20; static int gTestNo = gTestFirst; static SkTDArray gTestOp; -- cgit v1.2.3