| 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" | 12 #include "SkForceLinking.h" |
| 13 #include "SkMatrix.h" | 13 #include "SkMatrix.h" |
| 14 #include "SkMutex.h" | 14 #include "SkMutex.h" |
| 15 #include "SkPaint.h" | 15 #include "SkPaint.h" |
| 16 #include "SkRTConf.h" | 16 #include "SkRTConf.h" |
| 17 #include "SkStream.h" | 17 #include "SkStream.h" |
| 18 | 18 |
| 19 #include <stdlib.h> |
| 20 |
| 19 #ifdef SK_BUILD_FOR_MAC | 21 #ifdef SK_BUILD_FOR_MAC |
| 20 #include <sys/sysctl.h> | 22 #include <sys/sysctl.h> |
| 21 #endif | 23 #endif |
| 22 | 24 |
| 23 __SK_FORCE_IMAGE_DECODER_LINKING; | 25 __SK_FORCE_IMAGE_DECODER_LINKING; |
| 24 | 26 |
| 25 DEFINE_bool2(runFail, f, false, "run tests known to fail."); | 27 DEFINE_bool2(runFail, f, false, "run tests known to fail."); |
| 26 DEFINE_bool2(runBinary, f, false, "run tests known to fail binary sect."); | 28 DEFINE_bool2(runBinary, f, false, "run tests known to fail binary sect."); |
| 27 | 29 |
| 28 static const char marker[] = | 30 static const char marker[] = |
| (...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 670 if (foundSkip && tests[index].fun != firstTest) { | 672 if (foundSkip && tests[index].fun != firstTest) { |
| 671 SkDebugf(" %s,\n", tests[index].str); | 673 SkDebugf(" %s,\n", tests[index].str); |
| 672 } | 674 } |
| 673 if (tests[index].fun == stopTest || index == last) { | 675 if (tests[index].fun == stopTest || index == last) { |
| 674 break; | 676 break; |
| 675 } | 677 } |
| 676 index += reverse ? -1 : 1; | 678 index += reverse ? -1 : 1; |
| 677 } while (true); | 679 } while (true); |
| 678 #endif | 680 #endif |
| 679 } | 681 } |
| OLD | NEW |