OLD | NEW |
1 #if !SK_SUPPORT_GPU | 1 #if !SK_SUPPORT_GPU |
2 #error "GPU support required" | 2 #error "GPU support required" |
3 #endif | 3 #endif |
4 | 4 |
5 #include "GrContext.h" | 5 #include "GrContext.h" |
6 #include "GrContextFactory.h" | 6 #include "GrContextFactory.h" |
7 #include "GrRenderTarget.h" | 7 #include "GrRenderTarget.h" |
8 #include "SkGpuDevice.h" | 8 #include "SkGpuDevice.h" |
9 #include "gl/GrGLDefines.h" | 9 #include "gl/GrGLDefines.h" |
10 | 10 |
11 #include "SkBitmap.h" | 11 #include "SkBitmap.h" |
12 #include "SkColor.h" | 12 #include "SkColor.h" |
13 #include "SkDevice.h" | 13 #include "SkDevice.h" |
14 #include "SkCanvas.h" | 14 #include "SkCanvas.h" |
15 #include "SkGraphics.h" | 15 #include "SkGraphics.h" |
16 #include "SkImageDecoder.h" | 16 #include "SkImageDecoder.h" |
17 #include "SkImageEncoder.h" | 17 #include "SkImageEncoder.h" |
18 #include "SkStream.h" | 18 #include "SkStream.h" |
19 #include "SkOSFile.h" | 19 #include "SkOSFile.h" |
20 #include "SkPicture.h" | 20 #include "SkPicture.h" |
21 #include "SkRTConf.h" | 21 #include "SkRTConf.h" |
22 #include "SkRunnable.h" | 22 #include "SkRunnable.h" |
23 #include "SkString.h" | 23 #include "SkString.h" |
24 #include "SkTArray.h" | 24 #include "SkTArray.h" |
25 #include "SkTDArray.h" | 25 #include "SkTDArray.h" |
26 #include "SkThreadPool.h" | 26 #include "SkThreadPool.h" |
27 #include "SkTime.h" | 27 #include "SkTime.h" |
28 #include "Test.h" | 28 #include "Test.h" |
29 #include "TestClassDef.h" | |
30 | 29 |
31 #ifdef SK_BUILD_FOR_WIN | 30 #ifdef SK_BUILD_FOR_WIN |
32 #define PATH_SLASH "\\" | 31 #define PATH_SLASH "\\" |
33 #define IN_DIR "D:\\9-30-13\\" | 32 #define IN_DIR "D:\\9-30-13\\" |
34 #define OUT_DIR "D:\\skpSkGr\\11\\" | 33 #define OUT_DIR "D:\\skpSkGr\\11\\" |
35 #define LINE_FEED "\r\n" | 34 #define LINE_FEED "\r\n" |
36 #else | 35 #else |
37 #define PATH_SLASH "/" | 36 #define PATH_SLASH "/" |
38 #define IN_DIR "/usr/local/google/home/caryclark" PATH_SLASH "9-30-13-skp" | 37 #define IN_DIR "/usr/local/google/home/caryclark" PATH_SLASH "9-30-13-skp" |
39 #define OUT_DIR "/media/01CD75512A7F9EE0/4" PATH_SLASH | 38 #define OUT_DIR "/media/01CD75512A7F9EE0/4" PATH_SLASH |
(...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
744 int testIndex = 166; | 743 int testIndex = 166; |
745 int dirIndex = skipOverSkGr[testIndex - 166].directory; | 744 int dirIndex = skipOverSkGr[testIndex - 166].directory; |
746 SkString pictDir = make_in_dir_name(dirIndex); | 745 SkString pictDir = make_in_dir_name(dirIndex); |
747 if (pictDir.size() == 0) { | 746 if (pictDir.size() == 0) { |
748 return; | 747 return; |
749 } | 748 } |
750 SkString filename(skipOverSkGr[testIndex - 166].filename); | 749 SkString filename(skipOverSkGr[testIndex - 166].filename); |
751 TestResult::Test(dirIndex, filename.c_str(), kCompareBits, reporter->verbose
()); | 750 TestResult::Test(dirIndex, filename.c_str(), kCompareBits, reporter->verbose
()); |
752 TestResult::Test(dirIndex, filename.c_str(), kEncodeFiles, reporter->verbose
()); | 751 TestResult::Test(dirIndex, filename.c_str(), kEncodeFiles, reporter->verbose
()); |
753 } | 752 } |
OLD | NEW |