Now, path ops natively intersect conics, quads, and cubics in any combination. There are still a class of cubic tests that fail and a handful of undiagnosed failures from skps and fuzz tests, but things are much better overall.
Extended tests (150M+) run to completion in release in about 6 minutes; the standard test suite exceeds 100K and finishes in a few seconds on desktops.
TBR=reed
BUG=skia:3588
Review URL: https://codereview.chromium.org/1037953004
diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp
index 19e7048..45429a6 100644
--- a/src/core/SkPath.cpp
+++ b/src/core/SkPath.cpp
@@ -1966,11 +1966,13 @@
verb = kDone_Verb; // stop the loop
break;
}
+ if (!wStream && builder.size()) {
+ SkDebugf("%s", builder.c_str());
+ builder.reset();
+ }
}
if (wStream) {
wStream->writeText(builder.c_str());
- } else {
- SkDebugf("%s", builder.c_str());
}
}