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" |
11 #include "SkCommandLineFlags.h" | 11 #include "SkCommandLineFlags.h" |
12 #include "SkPath.h" | 12 #include "SkPath.h" |
13 #include "SkPathOpsTypes.h" | 13 #include "SkPathOpsTypes.h" |
14 #include "SkStream.h" | 14 #include "SkStream.h" |
| 15 #include "SkThread.h" |
| 16 #include "SkThreadUtils.h" |
15 #include "Test.h" | 17 #include "Test.h" |
16 | 18 |
17 DECLARE_bool(runFail); | 19 DECLARE_bool(runFail); |
18 DECLARE_bool(runBinary); | 20 DECLARE_bool(runBinary); |
19 | 21 |
20 struct PathOpsThreadState; | 22 struct PathOpsThreadState; |
21 | 23 |
22 struct TestDesc { | 24 struct TestDesc { |
23 void (*fun)(skiatest::Reporter*, const char* filename); | 25 void (*fun)(skiatest::Reporter*, const char* filename); |
24 const char* str; | 26 const char* str; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 void (*firstTest)(skiatest::Reporter* , const char* filename), | 60 void (*firstTest)(skiatest::Reporter* , const char* filename), |
59 void (*skipTest)(skiatest::Reporter* , const char* filename), | 61 void (*skipTest)(skiatest::Reporter* , const char* filename), |
60 void (*stopTest)(skiatest::Reporter* , const char* filename), bo
ol reverse); | 62 void (*stopTest)(skiatest::Reporter* , const char* filename), bo
ol reverse); |
61 void ShowTestArray(const char* testName); | 63 void ShowTestArray(const char* testName); |
62 void ShowTestName(PathOpsThreadState* data, int a, int b, int c, int d); | 64 void ShowTestName(PathOpsThreadState* data, int a, int b, int c, int d); |
63 void ShowFunctionHeader(const char* name); | 65 void ShowFunctionHeader(const char* name); |
64 void ShowPath(const SkPath& path, const char* pathName); | 66 void ShowPath(const SkPath& path, const char* pathName); |
65 void ShowOp(SkPathOp op, const char* pathOne, const char* pathTwo); | 67 void ShowOp(SkPathOp op, const char* pathOne, const char* pathTwo); |
66 | 68 |
67 #endif | 69 #endif |
OLD | NEW |