aboutsummaryrefslogtreecommitdiff
path: root/tests/PathOpsSimplifyTrianglesThreadedTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/PathOpsSimplifyTrianglesThreadedTest.cpp')
-rwxr-xr-xtests/PathOpsSimplifyTrianglesThreadedTest.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/PathOpsSimplifyTrianglesThreadedTest.cpp b/tests/PathOpsSimplifyTrianglesThreadedTest.cpp
index 4030a67a7b..42aad38a48 100755
--- a/tests/PathOpsSimplifyTrianglesThreadedTest.cpp
+++ b/tests/PathOpsSimplifyTrianglesThreadedTest.cpp
@@ -12,6 +12,7 @@ static void testSimplifyTrianglesMain(PathOpsThreadState* data) {
PathOpsThreadState& state = *data;
char pathStr[1024];
sk_bzero(pathStr, sizeof(pathStr));
+ state.fKey = "?";
int ax = state.fA & 0x03;
int ay = state.fA >> 2;
int bx = state.fB & 0x03;
@@ -53,9 +54,11 @@ static void testSimplifyTrianglesMain(PathOpsThreadState* data) {
str += sprintf(str, " path.lineTo(%d, %d);\n", fx, fy);
str += sprintf(str, " path.close();\n");
outputProgress(state.fPathStr, pathStr, SkPath::kWinding_FillType);
+ ShowTestName(&state, d, e, f, 0);
testSimplify(path, false, out, state, pathStr);
path.setFillType(SkPath::kEvenOdd_FillType);
outputProgress(state.fPathStr, pathStr, SkPath::kEvenOdd_FillType);
+ ShowTestName(&state, d, e, f, 1);
testSimplify(path, true, out, state, pathStr);
}
}