OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright 2014 Google Inc. |
| 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. |
| 6 */ |
| 7 |
| 8 #include "SkCommonFlags.h" |
| 9 #include "SkThreadPool.h" |
| 10 |
| 11 DEFINE_string(config, "565 8888 pdf gpu nonrendering", |
| 12 "Options: 565 8888 pdf gpu nonrendering msaa4 msaa16 nvprmsaa4 nvp
rmsaa16 " |
| 13 "gpunull gpudebug angle mesa"); |
| 14 |
| 15 DEFINE_bool(cpu, true, "master switch for running CPU-bound work."); |
| 16 |
| 17 DEFINE_bool(dryRun, false, |
| 18 "just print the tests that would be run, without actually running th
em."); |
| 19 |
| 20 DEFINE_bool(gpu, true, "master switch for running GPU-bound work."); |
| 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 |
| 27 DEFINE_bool2(leaks, l, false, "show leaked ref cnt'd objects."); |
| 28 |
| 29 DEFINE_string2(match, m, NULL, |
| 30 "[~][^]substring[$] [...] of GM name to run.\n" |
| 31 "Multiple matches may be separated by spaces.\n" |
| 32 "~ causes a matching GM to always be skipped\n" |
| 33 "^ requires the start of the GM to match\n" |
| 34 "$ requires the end of the GM to match\n" |
| 35 "^ and $ requires an exact match\n" |
| 36 "If a GM does not match any list entry,\n" |
| 37 "it is skipped unless some list entry starts with ~"); |
| 38 |
| 39 DEFINE_bool2(quiet, q, false, "if true, don't print status updates."); |
| 40 |
| 41 DEFINE_bool(resetGpuContext, true, "Reset the GrContext before running each benc
h."); |
| 42 |
| 43 DEFINE_bool2(single, z, false, "run tests on a single thread internally."); |
| 44 |
| 45 DEFINE_int32(threads, SkThreadPool::kThreadPerCore, |
| 46 "run threadsafe tests on a threadpool with this many threads."); |
| 47 |
| 48 DEFINE_bool2(verbose, v, false, "enable verbose output from the test driver."); |
| 49 |
| 50 DEFINE_bool2(veryVerbose, V, false, "tell individual tests to be verbose."); |
OLD | NEW |