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 "CrashHandler.h" | 8 #include "CrashHandler.h" |
9 #include "DMJsonWriter.h" | 9 #include "DMJsonWriter.h" |
10 #include "DMSrcSink.h" | 10 #include "DMSrcSink.h" |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 "'--blacklist gpu skp _ _ 8888 gm _ aarects' will also blacklist the aar
ects GM on 8888."); | 64 "'--blacklist gpu skp _ _ 8888 gm _ aarects' will also blacklist the aar
ects GM on 8888."); |
65 | 65 |
66 DEFINE_string2(readPath, r, "", "If set check for equality with golden results i
n this directory."); | 66 DEFINE_string2(readPath, r, "", "If set check for equality with golden results i
n this directory."); |
67 | 67 |
68 DEFINE_string(uninterestingHashesFile, "", | 68 DEFINE_string(uninterestingHashesFile, "", |
69 "File containing a list of uninteresting hashes. If a result hashes to s
omething in " | 69 "File containing a list of uninteresting hashes. If a result hashes to s
omething in " |
70 "this list, no image is written for that result."); | 70 "this list, no image is written for that result."); |
71 | 71 |
72 DEFINE_int32(shards, 1, "We're splitting source data into this many shards."); | 72 DEFINE_int32(shards, 1, "We're splitting source data into this many shards."); |
73 DEFINE_int32(shard, 0, "Which shard do I run?"); | 73 DEFINE_int32(shard, 0, "Which shard do I run?"); |
74 DEFINE_bool(simpleCodec, false, "Only decode images to native scale"); | |
75 | 74 |
76 DEFINE_string(mskps, "", "Directory to read mskps from, or a single mskp file.")
; | 75 DEFINE_string(mskps, "", "Directory to read mskps from, or a single mskp file.")
; |
77 | 76 |
78 using namespace DM; | 77 using namespace DM; |
79 using sk_gpu_test::GrContextFactory; | 78 using sk_gpu_test::GrContextFactory; |
80 using sk_gpu_test::GLTestContext; | 79 using sk_gpu_test::GLTestContext; |
81 using sk_gpu_test::ContextInfo; | 80 using sk_gpu_test::ContextInfo; |
82 | 81 |
83 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~*/ | 82 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~*/ |
84 | 83 |
(...skipping 1318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1403 #endif | 1402 #endif |
1404 } | 1403 } |
1405 } // namespace skiatest | 1404 } // namespace skiatest |
1406 | 1405 |
1407 #if !defined(SK_BUILD_FOR_IOS) | 1406 #if !defined(SK_BUILD_FOR_IOS) |
1408 int main(int argc, char** argv) { | 1407 int main(int argc, char** argv) { |
1409 SkCommandLineFlags::Parse(argc, argv); | 1408 SkCommandLineFlags::Parse(argc, argv); |
1410 return dm_main(); | 1409 return dm_main(); |
1411 } | 1410 } |
1412 #endif | 1411 #endif |
OLD | NEW |