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

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

Issue 422903002: Test abandoning GL context in dm/nanobench. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix build 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
« no previous file with comments | « 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 20 matching lines...) Expand all
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.");
OLDNEW
« no previous file with comments | « tools/flags/SkCommonFlags.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698