OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 #ifndef PathOpsExtendedTest_DEFINED | 7 #ifndef PathOpsExtendedTest_DEFINED |
8 #define PathOpsExtendedTest_DEFINED | 8 #define PathOpsExtendedTest_DEFINED |
9 | 9 |
10 #include "SkBitmap.h" | 10 #include "SkBitmap.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 extern void showOp(const SkPathOp op); | 28 extern void showOp(const SkPathOp op); |
29 extern void showPath(const SkPath& path, const char* str); | 29 extern void showPath(const SkPath& path, const char* str); |
30 extern void showPath(const SkPath& path); | 30 extern void showPath(const SkPath& path); |
31 extern void showPathData(const SkPath& path); | 31 extern void showPathData(const SkPath& path); |
32 extern bool testPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPa
th& b, | 32 extern bool testPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPa
th& b, |
33 const SkPathOp ); | 33 const SkPathOp ); |
34 extern bool testSimplify(SkPath& path, bool useXor, SkPath& out, PathOpsThreadSt
ate& state, | 34 extern bool testSimplify(SkPath& path, bool useXor, SkPath& out, PathOpsThreadSt
ate& state, |
35 const char* pathStr); | 35 const char* pathStr); |
36 extern bool testSimplify(skiatest::Reporter* reporter, const SkPath& path); | 36 extern bool testSimplify(skiatest::Reporter* reporter, const SkPath& path); |
37 | 37 |
38 int initializeTests(const char* testName); | 38 int initializeTests(skiatest::Reporter* reporter, const char* testName); |
39 void outputProgress(char* ramStr, const char* pathStr, SkPath::FillType ); | 39 void outputProgress(char* ramStr, const char* pathStr, SkPath::FillType ); |
40 void outputProgress(char* ramStr, const char* pathStr, SkPathOp op); | 40 void outputProgress(char* ramStr, const char* pathStr, SkPathOp op); |
41 | 41 |
42 void RunTestSet(skiatest::Reporter* reporter, TestDesc tests[], size_t count, | 42 void RunTestSet(skiatest::Reporter* reporter, TestDesc tests[], size_t count, |
43 void (*firstTest)(skiatest::Reporter* ), | 43 void (*firstTest)(skiatest::Reporter* ), |
44 void (*stopTest)(skiatest::Reporter* ), bool reverse); | 44 void (*stopTest)(skiatest::Reporter* ), bool reverse); |
45 void ShowTestName(PathOpsThreadState* data, int a, int b, int c, int d); | 45 void ShowTestName(PathOpsThreadState* data, int a, int b, int c, int d); |
46 | 46 |
47 #endif | 47 #endif |
OLD | NEW |