| OLD | NEW |
| 1 #include "CrashHandler.h" | 1 #include "CrashHandler.h" |
| 2 #include "DMJsonWriter.h" | 2 #include "DMJsonWriter.h" |
| 3 #include "DMSrcSink.h" | 3 #include "DMSrcSink.h" |
| 4 #include "OverwriteLine.h" | 4 #include "OverwriteLine.h" |
| 5 #include "ProcStats.h" | 5 #include "ProcStats.h" |
| 6 #include "SkBBHFactory.h" | 6 #include "SkBBHFactory.h" |
| 7 #include "SkCommonFlags.h" | 7 #include "SkCommonFlags.h" |
| 8 #include "SkForceLinking.h" | 8 #include "SkForceLinking.h" |
| 9 #include "SkGraphics.h" | 9 #include "SkGraphics.h" |
| 10 #include "SkMD5.h" | 10 #include "SkMD5.h" |
| 11 #include "SkOSFile.h" | 11 #include "SkOSFile.h" |
| 12 #include "SkTaskGroup.h" | 12 #include "SkTaskGroup.h" |
| 13 #include "Test.h" | 13 #include "Test.h" |
| 14 #include "Timer.h" | 14 #include "Timer.h" |
| 15 | 15 |
| 16 DEFINE_bool(tests, true, "Run tests?"); | 16 DEFINE_bool(tests, true, "Run tests?"); |
| 17 DEFINE_string(images, "resources", "Images to decode."); | 17 DEFINE_string(images, "resources", "Images to decode."); |
| 18 //DEFINE_string(src, "gm skp image subset", "Source types to test."); | 18 DEFINE_string(src, "gm skp image subset", "Source types to test."); |
| 19 DEFINE_string(src, "gm skp", "Source types to test. TEMPORARILY DISABLED"); | |
| 20 DEFINE_bool(nameByHash, false, | 19 DEFINE_bool(nameByHash, false, |
| 21 "If true, write to FLAGS_writePath[0]/<hash>.png instead of " | 20 "If true, write to FLAGS_writePath[0]/<hash>.png instead of " |
| 22 "to FLAGS_writePath[0]/<config>/<sourceType>/<name>.png"); | 21 "to FLAGS_writePath[0]/<config>/<sourceType>/<name>.png"); |
| 23 DEFINE_bool2(pathOpsExtended, x, false, "Run extended pathOps tests."); | 22 DEFINE_bool2(pathOpsExtended, x, false, "Run extended pathOps tests."); |
| 24 DEFINE_string(matrix, "1 0 0 0 1 0 0 0 1", | 23 DEFINE_string(matrix, "1 0 0 0 1 0 0 0 1", |
| 25 "Matrix to apply when using 'matrix' in config."); | 24 "Matrix to apply when using 'matrix' in config."); |
| 26 DEFINE_bool(gpu_threading, false, "Allow GPU work to run on multiple threads?"); | 25 DEFINE_bool(gpu_threading, false, "Allow GPU work to run on multiple threads?"); |
| 27 | 26 |
| 28 DEFINE_string(blacklist, "", | 27 DEFINE_string(blacklist, "", |
| 29 "Space-separated config/src/name triples to blacklist. '_' matches anyt
hing. E.g. \n" | 28 "Space-separated config/src/name triples to blacklist. '_' matches anyt
hing. E.g. \n" |
| (...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 470 } | 469 } |
| 471 return 0; | 470 return 0; |
| 472 } | 471 } |
| 473 | 472 |
| 474 #if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL) | 473 #if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL) |
| 475 int main(int argc, char** argv) { | 474 int main(int argc, char** argv) { |
| 476 SkCommandLineFlags::Parse(argc, argv); | 475 SkCommandLineFlags::Parse(argc, argv); |
| 477 return dm_main(); | 476 return dm_main(); |
| 478 } | 477 } |
| 479 #endif | 478 #endif |
| OLD | NEW |