| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #include "DMJsonWriter.h" | 8 #include "DMJsonWriter.h" |
| 9 #include "DMSrcSink.h" | 9 #include "DMSrcSink.h" |
| 10 #include "DMSrcSinkAndroid.h" | 10 #include "DMSrcSinkAndroid.h" |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 | 66 |
| 67 DEFINE_string(uninterestingHashesFile, "", | 67 DEFINE_string(uninterestingHashesFile, "", |
| 68 "File containing a list of uninteresting hashes. If a result hashes to s
omething in " | 68 "File containing a list of uninteresting hashes. If a result hashes to s
omething in " |
| 69 "this list, no image is written for that result."); | 69 "this list, no image is written for that result."); |
| 70 | 70 |
| 71 DEFINE_int32(shards, 1, "We're splitting source data into this many shards."); | 71 DEFINE_int32(shards, 1, "We're splitting source data into this many shards."); |
| 72 DEFINE_int32(shard, 0, "Which shard do I run?"); | 72 DEFINE_int32(shard, 0, "Which shard do I run?"); |
| 73 | 73 |
| 74 DEFINE_string(mskps, "", "Directory to read mskps from, or a single mskp file.")
; | 74 DEFINE_string(mskps, "", "Directory to read mskps from, or a single mskp file.")
; |
| 75 | 75 |
| 76 DEFINE_string(svgs, "", "Directory to read SVGs from, or a single SVG file."); | |
| 77 | |
| 78 using namespace DM; | 76 using namespace DM; |
| 79 using sk_gpu_test::GrContextFactory; | 77 using sk_gpu_test::GrContextFactory; |
| 80 using sk_gpu_test::GLTestContext; | 78 using sk_gpu_test::GLTestContext; |
| 81 using sk_gpu_test::ContextInfo; | 79 using sk_gpu_test::ContextInfo; |
| 82 | 80 |
| 83 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~*/ | 81 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~*/ |
| 84 | 82 |
| 85 static const double kStartMs = SkTime::GetMSecs(); | 83 static const double kStartMs = SkTime::GetMSecs(); |
| 86 | 84 |
| 87 static FILE* gVLog; | 85 static FILE* gVLog; |
| (...skipping 1335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1423 #endif | 1421 #endif |
| 1424 } | 1422 } |
| 1425 } // namespace skiatest | 1423 } // namespace skiatest |
| 1426 | 1424 |
| 1427 #if !defined(SK_BUILD_FOR_IOS) | 1425 #if !defined(SK_BUILD_FOR_IOS) |
| 1428 int main(int argc, char** argv) { | 1426 int main(int argc, char** argv) { |
| 1429 SkCommandLineFlags::Parse(argc, argv); | 1427 SkCommandLineFlags::Parse(argc, argv); |
| 1430 return dm_main(); | 1428 return dm_main(); |
| 1431 } | 1429 } |
| 1432 #endif | 1430 #endif |
| OLD | NEW |