| OLD | NEW |
| 1 // Main binary for DM. | 1 // Main binary for DM. |
| 2 // For a high-level overview, please see dm/README. | 2 // For a high-level overview, please see dm/README. |
| 3 | 3 |
| 4 #include "GrContext.h" | |
| 5 #include "GrContextFactory.h" | |
| 6 #include "SkBenchmark.h" | 4 #include "SkBenchmark.h" |
| 7 #include "SkCommandLineFlags.h" | 5 #include "SkCommandLineFlags.h" |
| 8 #include "SkForceLinking.h" | 6 #include "SkForceLinking.h" |
| 9 #include "SkGraphics.h" | 7 #include "SkGraphics.h" |
| 10 #include "SkString.h" | 8 #include "SkString.h" |
| 11 #include "Test.h" | 9 #include "Test.h" |
| 12 #include "gm.h" | 10 #include "gm.h" |
| 13 | 11 |
| 14 #include "DMBenchTask.h" | 12 #include "DMBenchTask.h" |
| 15 #include "DMCpuGMTask.h" | 13 #include "DMCpuGMTask.h" |
| 16 #include "DMGpuGMTask.h" | 14 #include "DMGpuGMTask.h" |
| 15 #include "DMGpuSupport.h" |
| 17 #include "DMReporter.h" | 16 #include "DMReporter.h" |
| 18 #include "DMTask.h" | 17 #include "DMTask.h" |
| 19 #include "DMTaskRunner.h" | 18 #include "DMTaskRunner.h" |
| 20 #include "DMTestTask.h" | 19 #include "DMTestTask.h" |
| 21 #include "DMWriteTask.h" | 20 #include "DMWriteTask.h" |
| 22 | 21 |
| 23 #include <string.h> | 22 #include <string.h> |
| 24 | 23 |
| 25 using skiagm::GM; | 24 using skiagm::GM; |
| 26 using skiagm::GMRegistry; | 25 using skiagm::GMRegistry; |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 SkGraphics::Term(); | 223 SkGraphics::Term(); |
| 225 | 224 |
| 226 return reporter.failed() > 0; | 225 return reporter.failed() > 0; |
| 227 } | 226 } |
| 228 | 227 |
| 229 #if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL) | 228 #if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL) |
| 230 int main(int argc, char** argv) { | 229 int main(int argc, char** argv) { |
| 231 return tool_main(argc, argv); | 230 return tool_main(argc, argv); |
| 232 } | 231 } |
| 233 #endif | 232 #endif |
| OLD | NEW |