diff options
author | caryclark <caryclark@google.com> | 2015-04-23 09:13:37 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-23 09:13:37 -0700 |
commit | 03b03cad01628146bbb8d4f33c073bd0c77ee558 (patch) | |
tree | 3daa35fc7a85abd54f6d48e23d3f8f665b677dc5 /tests/PathOpsDCubicTest.cpp | |
parent | 4b17fa353e777de309ca8b0706f1d3e326b59822 (diff) |
working on initial winding for cubics
Path ops works well for all tests except for cubics.
Isolate failures caused by cubics, and do a better job of computing
the initial winding for cubics.
TBR=reed@google.com
BUG=skia:3588
Review URL: https://codereview.chromium.org/1096923003
Diffstat (limited to 'tests/PathOpsDCubicTest.cpp')
-rw-r--r-- | tests/PathOpsDCubicTest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/PathOpsDCubicTest.cpp b/tests/PathOpsDCubicTest.cpp index d6994943bd..c7c9f2ab96 100644 --- a/tests/PathOpsDCubicTest.cpp +++ b/tests/PathOpsDCubicTest.cpp @@ -20,7 +20,8 @@ DEF_TEST(PathOpsDCubic, reporter) { for (size_t index = 0; index < tests_count; ++index) { const SkDCubic& cubic = tests[index]; SkASSERT(ValidCubic(cubic)); - bool result = cubic.clockwise(); + bool skip; + bool result = cubic.clockwise(&skip); if (!result) { SkDebugf("%s [%d] expected clockwise\n", __FUNCTION__, index); REPORTER_ASSERT(reporter, 0); |