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

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

Issue 531653002: SkThreadPool ~~> SkTaskGroup (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: cleanup allowThreaded() Created 6 years, 3 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
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"
10 9
11 DEFINE_string(config, "565 8888 pdf gpu nonrendering angle", 10 DEFINE_string(config, "565 8888 pdf gpu nonrendering angle",
12 "Options: 565 8888 pdf gpu nonrendering msaa4 msaa16 nvprmsaa4 nvp rmsaa16 " 11 "Options: 565 8888 pdf gpu nonrendering msaa4 msaa16 nvprmsaa4 nvp rmsaa16 "
13 "gpunull gpudebug angle mesa"); 12 "gpunull gpudebug angle mesa");
14 13
15 DEFINE_bool(cpu, true, "master switch for running CPU-bound work."); 14 DEFINE_bool(cpu, true, "master switch for running CPU-bound work.");
16 15
17 DEFINE_bool(dryRun, false, 16 DEFINE_bool(dryRun, false,
18 "just print the tests that would be run, without actually running th em."); 17 "just print the tests that would be run, without actually running th em.");
19 18
(...skipping 15 matching lines...) Expand all
35 "^ and $ requires an exact match\n" 34 "^ and $ requires an exact match\n"
36 "If a GM does not match any list entry,\n" 35 "If a GM does not match any list entry,\n"
37 "it is skipped unless some list entry starts with ~"); 36 "it is skipped unless some list entry starts with ~");
38 37
39 DEFINE_bool2(quiet, q, false, "if true, don't print status updates."); 38 DEFINE_bool2(quiet, q, false, "if true, don't print status updates.");
40 39
41 DEFINE_bool(resetGpuContext, true, "Reset the GrContext before running each test ."); 40 DEFINE_bool(resetGpuContext, true, "Reset the GrContext before running each test .");
42 DEFINE_bool(abandonGpuContext, false, "Abandon the GrContext after running each test. " 41 DEFINE_bool(abandonGpuContext, false, "Abandon the GrContext after running each test. "
43 "Implies --resetGpuContext."); 42 "Implies --resetGpuContext.");
44 43
45 DEFINE_bool2(single, z, false, "run tests on a single thread internally.");
46
47 DEFINE_string(skps, "skps", "Directory to read skps from."); 44 DEFINE_string(skps, "skps", "Directory to read skps from.");
48 45
49 DEFINE_int32(threads, SkThreadPool::kThreadPerCore, 46 DEFINE_int32(threads, 0, "Run threadsafe tests on a threadpool with this many th reads, "
50 "run threadsafe tests on a threadpool with this many threads."); 47 "defaulting to one thread per core.");
51 48
52 DEFINE_bool2(verbose, v, false, "enable verbose output from the test driver."); 49 DEFINE_bool2(verbose, v, false, "enable verbose output from the test driver.");
53 50
54 DEFINE_bool2(veryVerbose, V, false, "tell individual tests to be verbose."); 51 DEFINE_bool2(veryVerbose, V, false, "tell individual tests to be verbose.");
55 52
56 DEFINE_string2(writePath, w, "", "If set, write bitmaps here as .pngs."); 53 DEFINE_string2(writePath, w, "", "If set, write bitmaps here as .pngs.");
OLDNEW
« src/utils/SkRunnable.h ('K') | « tools/flags/SkCommonFlags.h ('k') | tools/iOSShell.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698