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 "SkChecksum.h" | 7 #include "SkChecksum.h" |
8 #include "SkCommonFlags.h" | 8 #include "SkCommonFlags.h" |
9 #include "SkForceLinking.h" | 9 #include "SkForceLinking.h" |
10 #include "SkGraphics.h" | 10 #include "SkGraphics.h" |
11 #include "SkInstCnt.h" | 11 #include "SkInstCnt.h" |
12 #include "SkMD5.h" | 12 #include "SkMD5.h" |
13 #include "SkOSFile.h" | 13 #include "SkOSFile.h" |
14 #include "SkTDynamicHash.h" | 14 #include "SkTDynamicHash.h" |
15 #include "SkTaskGroup.h" | 15 #include "SkTaskGroup.h" |
16 #include "Test.h" | 16 #include "Test.h" |
17 #include "Timer.h" | 17 #include "Timer.h" |
18 | 18 |
19 DEFINE_string(images, "resources", "Images to decode."); | |
20 DEFINE_string(src, "tests gm skp image subset", "Source types to test."); | 19 DEFINE_string(src, "tests gm skp image subset", "Source types to test."); |
21 DEFINE_bool(nameByHash, false, | 20 DEFINE_bool(nameByHash, false, |
22 "If true, write to FLAGS_writePath[0]/<hash>.png instead of " | 21 "If true, write to FLAGS_writePath[0]/<hash>.png instead of " |
23 "to FLAGS_writePath[0]/<config>/<sourceType>/<name>.png"); | 22 "to FLAGS_writePath[0]/<config>/<sourceType>/<name>.png"); |
24 DEFINE_bool2(pathOpsExtended, x, false, "Run extended pathOps tests."); | 23 DEFINE_bool2(pathOpsExtended, x, false, "Run extended pathOps tests."); |
25 DEFINE_string(matrix, "1 0 0 0 1 0 0 0 1", | 24 DEFINE_string(matrix, "1 0 0 0 1 0 0 0 1", |
26 "Matrix to apply when using 'matrix' in config."); | 25 "Matrix to apply when using 'matrix' in config."); |
27 DEFINE_bool(gpu_threading, false, "Allow GPU work to run on multiple threads?"); | 26 DEFINE_bool(gpu_threading, false, "Allow GPU work to run on multiple threads?"); |
28 | 27 |
29 DEFINE_string(blacklist, "", | 28 DEFINE_string(blacklist, "", |
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
557 } | 556 } |
558 return 0; | 557 return 0; |
559 } | 558 } |
560 | 559 |
561 #if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL) | 560 #if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL) |
562 int main(int argc, char** argv) { | 561 int main(int argc, char** argv) { |
563 SkCommandLineFlags::Parse(argc, argv); | 562 SkCommandLineFlags::Parse(argc, argv); |
564 return dm_main(); | 563 return dm_main(); |
565 } | 564 } |
566 #endif | 565 #endif |
OLD | NEW |