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 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
633 if (tests[index].fun == stopTest) { | 630 if (tests[index].fun == stopTest) { |
634 SkDebugf("lastTest\n"); | 631 SkDebugf("lastTest\n"); |
635 break; | 632 break; |
636 } | 633 } |
637 if (index == last) { | 634 if (index == last) { |
638 break; | 635 break; |
639 } | 636 } |
640 index += reverse ? -1 : 1; | 637 index += reverse ? -1 : 1; |
641 } while (true); | 638 } while (true); |
642 } | 639 } |
OLD | NEW |