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 hwui ", "Options: " |
| 11 "565 8888 angle debug gpu gpudebug gpudft gpunull hwui mesa " |
| 12 "msaa16 msaa4 nonrendering null nullgpu nvprmsaa16 nvprmsaa4 " |
| 13 "pdf skp svg xps (and maybe more)"); |
| 14 |
10 DEFINE_bool(cpu, true, "master switch for running CPU-bound work."); | 15 DEFINE_bool(cpu, true, "master switch for running CPU-bound work."); |
11 | 16 |
12 DEFINE_bool(dryRun, false, | 17 DEFINE_bool(dryRun, false, |
13 "just print the tests that would be run, without actually running th
em."); | 18 "just print the tests that would be run, without actually running th
em."); |
14 | 19 |
15 DEFINE_bool(gpu, true, "master switch for running GPU-bound work."); | 20 DEFINE_bool(gpu, true, "master switch for running GPU-bound work."); |
16 | 21 |
| 22 DEFINE_string(gpuAPI, "", "Force use of specific gpu API. Using \"gl\" " |
| 23 "forces OpenGL API. Using \"gles\" forces OpenGL ES API. " |
| 24 "Defaults to empty string, which selects the API native to the " |
| 25 "system."); |
| 26 |
17 DEFINE_string(images, "", "Directory of images to decode."); | 27 DEFINE_string(images, "", "Directory of images to decode."); |
18 | 28 |
19 DEFINE_string2(match, m, nullptr, | 29 DEFINE_string2(match, m, nullptr, |
20 "[~][^]substring[$] [...] of GM name to run.\n" | 30 "[~][^]substring[$] [...] of GM name to run.\n" |
21 "Multiple matches may be separated by spaces.\n" | 31 "Multiple matches may be separated by spaces.\n" |
22 "~ causes a matching GM to always be skipped\n" | 32 "~ causes a matching GM to always be skipped\n" |
23 "^ requires the start of the GM to match\n" | 33 "^ requires the start of the GM to match\n" |
24 "$ requires the end of the GM to match\n" | 34 "$ requires the end of the GM to match\n" |
25 "^ and $ requires an exact match\n" | 35 "^ and $ requires an exact match\n" |
26 "If a GM does not match any list entry,\n" | 36 "If a GM does not match any list entry,\n" |
(...skipping 14 matching lines...) Expand all Loading... |
41 | 51 |
42 DEFINE_bool2(veryVerbose, V, false, "tell individual tests to be verbose."); | 52 DEFINE_bool2(veryVerbose, V, false, "tell individual tests to be verbose."); |
43 | 53 |
44 DEFINE_string2(writePath, w, "", "If set, write bitmaps here as .pngs."); | 54 DEFINE_string2(writePath, w, "", "If set, write bitmaps here as .pngs."); |
45 | 55 |
46 DEFINE_string(key, "", | 56 DEFINE_string(key, "", |
47 "Space-separated key/value pairs to add to JSON identifying this b
uilder."); | 57 "Space-separated key/value pairs to add to JSON identifying this b
uilder."); |
48 DEFINE_string(properties, "", | 58 DEFINE_string(properties, "", |
49 "Space-separated key/value pairs to add to JSON identifying this r
un."); | 59 "Space-separated key/value pairs to add to JSON identifying this r
un."); |
50 | 60 |
OLD | NEW |