Chromium Code Reviews| 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 26 matching lines...) Expand all Loading... | |
| 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 test ."); | 41 DEFINE_bool(resetGpuContext, true, "Reset the GrContext before running each test ."); |
| 42 DEFINE_bool(abandonGpuContext, false, "Abandon the GrContext after running each test. " | 42 DEFINE_bool(abandonGpuContext, false, "Abandon the GrContext after running each test. " |
| 43 "Implies --resetGpuContext."); | 43 "Implies --resetGpuContext."); |
| 44 | 44 |
| 45 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."); |
| 46 | 46 |
| 47 DEFINE_string(skps, "", "Directory to read skps from."); | |
|
bsalomon
2014/08/01 13:23:24
Does specifying a skp file work too? b_p supports
mtklein
2014/08/01 13:55:34
It does now.
| |
| 48 | |
| 47 DEFINE_int32(threads, SkThreadPool::kThreadPerCore, | 49 DEFINE_int32(threads, SkThreadPool::kThreadPerCore, |
| 48 "run threadsafe tests on a threadpool with this many threads."); | 50 "run threadsafe tests on a threadpool with this many threads."); |
| 49 | 51 |
| 50 DEFINE_bool2(verbose, v, false, "enable verbose output from the test driver."); | 52 DEFINE_bool2(verbose, v, false, "enable verbose output from the test driver."); |
| 51 | 53 |
| 52 DEFINE_bool2(veryVerbose, V, false, "tell individual tests to be verbose."); | 54 DEFINE_bool2(veryVerbose, V, false, "tell individual tests to be verbose."); |
| OLD | NEW |