| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 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 "SkCommonFlags.h" | 8 #include "SkCommonFlags.h" |
| 9 | 9 |
| 10 DEFINE_string(config, "565 8888 gpu nonrendering angle nvprmsaa4 ", | 10 DEFINE_string(config, "565 8888 gpu nonrendering angle nvprmsaa4 ", |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 "Multiple matches may be separated by spaces.\n" | 30 "Multiple matches may be separated by spaces.\n" |
| 31 "~ causes a matching GM to always be skipped\n" | 31 "~ causes a matching GM to always be skipped\n" |
| 32 "^ requires the start of the GM to match\n" | 32 "^ requires the start of the GM to match\n" |
| 33 "$ requires the end of the GM to match\n" | 33 "$ requires the end of the GM to match\n" |
| 34 "^ and $ requires an exact match\n" | 34 "^ and $ requires an exact match\n" |
| 35 "If a GM does not match any list entry,\n" | 35 "If a GM does not match any list entry,\n" |
| 36 "it is skipped unless some list entry starts with ~"); | 36 "it is skipped unless some list entry starts with ~"); |
| 37 | 37 |
| 38 DEFINE_bool2(quiet, q, false, "if true, don't print status updates."); | 38 DEFINE_bool2(quiet, q, false, "if true, don't print status updates."); |
| 39 | 39 |
| 40 DEFINE_bool(resetGpuContext, true, "Reset the GrContext before running each test
."); | 40 DEFINE_bool(abandonGpuContext, false, "Abandon the GrContext after running each
test."); |
| 41 DEFINE_bool(abandonGpuContext, false, "Abandon the GrContext after running each
test. " | |
| 42 "Implies --resetGpuContext."); | |
| 43 | 41 |
| 44 DEFINE_string(skps, "skps", "Directory to read skps from."); | 42 DEFINE_string(skps, "skps", "Directory to read skps from."); |
| 45 | 43 |
| 46 DEFINE_int32(threads, -1, "Run threadsafe tests on a threadpool with this many e
xtra threads, " | 44 DEFINE_int32(threads, -1, "Run threadsafe tests on a threadpool with this many e
xtra threads, " |
| 47 "defaulting to one extra thread per core."); | 45 "defaulting to one extra thread per core."); |
| 48 | 46 |
| 49 DEFINE_bool2(verbose, v, false, "enable verbose output from the test driver."); | 47 DEFINE_bool2(verbose, v, false, "enable verbose output from the test driver."); |
| 50 | 48 |
| 51 DEFINE_bool2(veryVerbose, V, false, "tell individual tests to be verbose."); | 49 DEFINE_bool2(veryVerbose, V, false, "tell individual tests to be verbose."); |
| 52 | 50 |
| 53 DEFINE_string2(writePath, w, "", "If set, write bitmaps here as .pngs."); | 51 DEFINE_string2(writePath, w, "", "If set, write bitmaps here as .pngs."); |
| 54 | 52 |
| 55 DEFINE_string(key, "", | 53 DEFINE_string(key, "", |
| 56 "Space-separated key/value pairs to add to JSON identifying this b
uilder."); | 54 "Space-separated key/value pairs to add to JSON identifying this b
uilder."); |
| 57 DEFINE_string(properties, "", | 55 DEFINE_string(properties, "", |
| 58 "Space-separated key/value pairs to add to JSON identifying this r
un."); | 56 "Space-separated key/value pairs to add to JSON identifying this r
un."); |
| 59 | 57 |
| OLD | NEW |