Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(329)

Side by Side Diff: tools/flags/SkCommonFlags.cpp

Issue 425393004: SKPs-as-benches in nanobench (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: more %.2g Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« bench/nanobench.cpp ('K') | « tools/flags/SkCommonFlags.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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.");
OLDNEW
« bench/nanobench.cpp ('K') | « tools/flags/SkCommonFlags.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698