OLD | NEW |
1 | 1 |
2 #include "SkBitmap.h" | 2 #include "SkBitmap.h" |
3 #include "SkCanvas.h" | 3 #include "SkCanvas.h" |
4 #include "SkColor.h" | 4 #include "SkColor.h" |
5 #include "SkColorPriv.h" | 5 #include "SkColorPriv.h" |
6 #include "SkDevice.h" | 6 #include "SkDevice.h" |
7 #include "SkGraphics.h" | 7 #include "SkGraphics.h" |
8 #include "SkImageDecoder.h" | 8 #include "SkImageDecoder.h" |
9 #include "SkImageEncoder.h" | 9 #include "SkImageEncoder.h" |
10 #include "SkOSFile.h" | 10 #include "SkOSFile.h" |
11 #include "SkPathOpsDebug.h" | 11 #include "SkPathOpsDebug.h" |
12 #include "SkPicture.h" | 12 #include "SkPicture.h" |
13 #include "SkRTConf.h" | 13 #include "SkRTConf.h" |
14 #include "SkStream.h" | 14 #include "SkStream.h" |
15 #include "SkString.h" | 15 #include "SkString.h" |
16 #include "SkTArray.h" | 16 #include "SkTArray.h" |
17 #include "SkTDArray.h" | 17 #include "SkTDArray.h" |
18 #include "SkThreadPool.h" | 18 #include "SkThreadPool.h" |
19 #include "SkTime.h" | 19 #include "SkTime.h" |
20 #include "Test.h" | 20 #include "Test.h" |
21 #include "TestClassDef.h" | |
22 | 21 |
23 #ifdef SK_BUILD_FOR_WIN | 22 #ifdef SK_BUILD_FOR_WIN |
24 #define PATH_SLASH "\\" | 23 #define PATH_SLASH "\\" |
25 #define IN_DIR "D:\\9-30-13\\" | 24 #define IN_DIR "D:\\9-30-13\\" |
26 #define OUT_DIR "D:\\opSkpClip\\1\\" | 25 #define OUT_DIR "D:\\opSkpClip\\1\\" |
27 #else | 26 #else |
28 #define PATH_SLASH "/" | 27 #define PATH_SLASH "/" |
29 #ifdef SK_BUILD_FOR_MAC | 28 #ifdef SK_BUILD_FOR_MAC |
30 #define IN_DIR "/Volumes/tera/9-30-13/skp" | 29 #define IN_DIR "/Volumes/tera/9-30-13/skp" |
31 #define OUT_DIR "/Volumes/tera/out/9-30-13/1/" | 30 #define OUT_DIR "/Volumes/tera/out/9-30-13/1/" |
(...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
671 SkAssertResult(make_in_dir_name(dirNo).size()); | 670 SkAssertResult(make_in_dir_name(dirNo).size()); |
672 SkString filename(skipOverSept[testIndex].filename); | 671 SkString filename(skipOverSept[testIndex].filename); |
673 TestResult state; | 672 TestResult state; |
674 state.test(dirNo, filename); | 673 state.test(dirNo, filename); |
675 if (reporter->verbose()) { | 674 if (reporter->verbose()) { |
676 SkDebugf("%s", state.status().c_str()); | 675 SkDebugf("%s", state.status().c_str()); |
677 } | 676 } |
678 state.fTestStep = kEncodeFiles; | 677 state.fTestStep = kEncodeFiles; |
679 state.testOne(); | 678 state.testOne(); |
680 } | 679 } |
OLD | NEW |