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 | 7 |
8 #include "PathOpsExtendedTest.h" | 8 #include "PathOpsExtendedTest.h" |
9 #include "PathOpsThreadedCommon.h" | 9 #include "PathOpsThreadedCommon.h" |
10 #include "SkBitmap.h" | 10 #include "SkBitmap.h" |
11 #include "SkCanvas.h" | 11 #include "SkCanvas.h" |
12 #include "SkForceLinking.h" | |
13 #include "SkMatrix.h" | 12 #include "SkMatrix.h" |
14 #include "SkPaint.h" | 13 #include "SkPaint.h" |
15 #include "SkRTConf.h" | 14 #include "SkRTConf.h" |
16 #include "SkStream.h" | 15 #include "SkStream.h" |
17 #include "SkTaskGroup.h" | 16 #include "SkTaskGroup.h" |
18 #include "SkThread.h" | 17 #include "SkThread.h" |
19 | 18 |
20 #ifdef SK_BUILD_FOR_MAC | 19 #ifdef SK_BUILD_FOR_MAC |
21 #include <sys/sysctl.h> | 20 #include <sys/sysctl.h> |
22 #endif | 21 #endif |
23 | 22 |
24 __SK_FORCE_IMAGE_DECODER_LINKING; | |
25 | |
26 DEFINE_bool2(runFail, f, false, "run tests known to fail."); | 23 DEFINE_bool2(runFail, f, false, "run tests known to fail."); |
27 | 24 |
28 static const char marker[] = | 25 static const char marker[] = |
29 "</div>\n" | 26 "</div>\n" |
30 "\n" | 27 "\n" |
31 "<script type=\"text/javascript\">\n" | 28 "<script type=\"text/javascript\">\n" |
32 "\n" | 29 "\n" |
33 "var testDivs = [\n"; | 30 "var testDivs = [\n"; |
34 | 31 |
35 static const char* opStrs[] = { | 32 static const char* opStrs[] = { |
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
621 if (tests[index].fun == stopTest) { | 618 if (tests[index].fun == stopTest) { |
622 SkDebugf("lastTest\n"); | 619 SkDebugf("lastTest\n"); |
623 break; | 620 break; |
624 } | 621 } |
625 if (index == last) { | 622 if (index == last) { |
626 break; | 623 break; |
627 } | 624 } |
628 index += reverse ? -1 : 1; | 625 index += reverse ? -1 : 1; |
629 } while (true); | 626 } while (true); |
630 } | 627 } |
OLD | NEW |