From 27c8eb8ffd7e221693d840c2b9279d53fe6f03d4 Mon Sep 17 00:00:00 2001 From: caryclark Date: Mon, 6 Jul 2015 11:38:33 -0700 Subject: When three or more edges are coincident, the logic needs to compute the overlapping ranges and combine the winding into a single destination. This computes coincidence more rigorously, fixing the edge cases exposed by this bug. Also, add the ability to debug and dump pathop structures from the coincident context. TBR=reed@google.com BUG=skia:3651 Review URL: https://codereview.chromium.org/1182493015 --- tests/PathOpsBattles.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/PathOpsBattles.cpp') diff --git a/tests/PathOpsBattles.cpp b/tests/PathOpsBattles.cpp index 8f59f9f48e..3cf1353891 100644 --- a/tests/PathOpsBattles.cpp +++ b/tests/PathOpsBattles.cpp @@ -10681,7 +10681,7 @@ path.close(); testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); } -static void (*firstTest)(skiatest::Reporter* , const char* filename) = battleOp121; +static void (*firstTest)(skiatest::Reporter* , const char* filename) = battleOp183; static void (*stopTest)(skiatest::Reporter* , const char* filename) = 0; static struct TestDesc tests[] = { -- cgit v1.2.3