| 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 "SkCanvas.h" |
| 12 #include "SkColor.h" | 13 #include "SkColor.h" |
| 13 #include "SkDevice.h" | 14 #include "SkDevice.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" | |
| 19 #include "SkOSFile.h" | 18 #include "SkOSFile.h" |
| 20 #include "SkPicture.h" | 19 #include "SkPicture.h" |
| 21 #include "SkRTConf.h" | 20 #include "SkRTConf.h" |
| 22 #include "SkRunnable.h" | 21 #include "SkRunnable.h" |
| 22 #include "SkStream.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 | 29 |
| 30 #ifdef SK_BUILD_FOR_WIN | 30 #ifdef SK_BUILD_FOR_WIN |
| 31 #define PATH_SLASH "\\" | 31 #define PATH_SLASH "\\" |
| 32 #define IN_DIR "D:\\9-30-13\\" | 32 #define IN_DIR "D:\\9-30-13\\" |
| (...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 743 int testIndex = 166; | 743 int testIndex = 166; |
| 744 int dirIndex = skipOverSkGr[testIndex - 166].directory; | 744 int dirIndex = skipOverSkGr[testIndex - 166].directory; |
| 745 SkString pictDir = make_in_dir_name(dirIndex); | 745 SkString pictDir = make_in_dir_name(dirIndex); |
| 746 if (pictDir.size() == 0) { | 746 if (pictDir.size() == 0) { |
| 747 return; | 747 return; |
| 748 } | 748 } |
| 749 SkString filename(skipOverSkGr[testIndex - 166].filename); | 749 SkString filename(skipOverSkGr[testIndex - 166].filename); |
| 750 TestResult::Test(dirIndex, filename.c_str(), kCompareBits, reporter->verbose
()); | 750 TestResult::Test(dirIndex, filename.c_str(), kCompareBits, reporter->verbose
()); |
| 751 TestResult::Test(dirIndex, filename.c_str(), kEncodeFiles, reporter->verbose
()); | 751 TestResult::Test(dirIndex, filename.c_str(), kEncodeFiles, reporter->verbose
()); |
| 752 } | 752 } |
| OLD | NEW |