| 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 #include "SkThreadPool.h" | 9 #include "SkThreadPool.h" |
| 10 | 10 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 "Multiple matches may be separated by spaces.\n" | 31 "Multiple matches may be separated by spaces.\n" |
| 32 "~ causes a matching GM to always be skipped\n" | 32 "~ causes a matching GM to always be skipped\n" |
| 33 "^ requires the start of the GM to match\n" | 33 "^ requires the start of the GM to match\n" |
| 34 "$ requires the end of the GM to match\n" | 34 "$ requires the end of the GM to match\n" |
| 35 "^ and $ requires an exact match\n" | 35 "^ and $ requires an exact match\n" |
| 36 "If a GM does not match any list entry,\n" | 36 "If a GM does not match any list entry,\n" |
| 37 "it is skipped unless some list entry starts with ~"); | 37 "it is skipped unless some list entry starts with ~"); |
| 38 | 38 |
| 39 DEFINE_bool2(quiet, q, false, "if true, don't print status updates."); | 39 DEFINE_bool2(quiet, q, false, "if true, don't print status updates."); |
| 40 | 40 |
| 41 DEFINE_bool(resetGpuContext, true, "Reset the GrContext before running each benc
h."); | 41 DEFINE_bool(resetGpuContext, true, "Reset the GrContext before running each test
."); |
| 42 DEFINE_bool(abandonGpuContext, false, "Abandon the GrContext after running each
test. " |
| 43 "Implies --resetGpuContext."); |
| 42 | 44 |
| 43 DEFINE_bool2(single, z, false, "run tests on a single thread internally."); | 45 DEFINE_bool2(single, z, false, "run tests on a single thread internally."); |
| 44 | 46 |
| 45 DEFINE_int32(threads, SkThreadPool::kThreadPerCore, | 47 DEFINE_int32(threads, SkThreadPool::kThreadPerCore, |
| 46 "run threadsafe tests on a threadpool with this many threads."); | 48 "run threadsafe tests on a threadpool with this many threads."); |
| 47 | 49 |
| 48 DEFINE_bool2(verbose, v, false, "enable verbose output from the test driver."); | 50 DEFINE_bool2(verbose, v, false, "enable verbose output from the test driver."); |
| 49 | 51 |
| 50 DEFINE_bool2(veryVerbose, V, false, "tell individual tests to be verbose."); | 52 DEFINE_bool2(veryVerbose, V, false, "tell individual tests to be verbose."); |
| OLD | NEW |