aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Brian Osman <brianosman@google.com>2017-09-22 09:44:35 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-09-22 15:17:18 +0000
commitc49d11e0651939919bed6e7a8ae6afebf260d2bc (patch)
tree99a712e30d87a6bc9da6cae13798da64653ac993 /tools
parentadaeaedc28ff708dbe1380fe54480bb77ed007d8 (diff)
Turn on GPU threading by default to get better test/perf coverage
Explicitly disable it on PixelC. This is arbitrary, so we continue to get coverage of the single-threaded code. Bug: skia: Change-Id: I0ac91f7ca58652933db452720f353068cf2d0f2d Reviewed-on: https://skia-review.googlesource.com/50000 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/flags/SkCommonFlags.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/flags/SkCommonFlags.cpp b/tools/flags/SkCommonFlags.cpp
index c097f843cc..0fc1e1d186 100644
--- a/tools/flags/SkCommonFlags.cpp
+++ b/tools/flags/SkCommonFlags.cpp
@@ -56,8 +56,8 @@ DEFINE_string(svgs, "", "Directory to read SVGs from, or a single SVG file.");
DEFINE_int32_2(threads, j, -1, "Run threadsafe tests on a threadpool with this many extra threads, "
"defaulting to one extra thread per core.");
-DEFINE_int32(gpuThreads, 0, "Create this many extra threads to assist with GPU work, "
- "including software path rendering.");
+DEFINE_int32(gpuThreads, 2, "Create this many extra threads to assist with GPU work, "
+ "including software path rendering. Defaults to two.");
DEFINE_bool2(verbose, v, false, "enable verbose output from the test driver.");