aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-01-21 15:50:13 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-01-21 15:50:13 -0800
commit55e88b226ccb85d2c712a9e3e9e1f5bdcaac05ac (patch)
treef711be035e9d1adb60baa3de80227ffacabb2de2 /tools
parentaa7079b4a19e6d53040c4fb5cd62f2dd39c2595e (diff)
More natural way to serialize GPU tasks and tests.
This basically takes out the Windows-only hacks and promotes them to cross-platform behavior driven by --gpu_threading. - When --gpu_threading is false (the default), this puts GPU tasks and tests together in the same GPU enclave. They all run serially. - When --gpu_threading is true, both the tests and the tasks run totally independently, just like the thread-safe CPU-bound work. BUG=skia:3255 Review URL: https://codereview.chromium.org/847273005
Diffstat (limited to 'tools')
-rw-r--r--tools/flags/SkCommonFlags.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/flags/SkCommonFlags.cpp b/tools/flags/SkCommonFlags.cpp
index a9a0bae04b..2a0490cbb7 100644
--- a/tools/flags/SkCommonFlags.cpp
+++ b/tools/flags/SkCommonFlags.cpp
@@ -37,9 +37,7 @@ DEFINE_string2(match, m, NULL,
DEFINE_bool2(quiet, q, false, "if true, don't print status updates.");
-DEFINE_bool(resetGpuContext, true, "Reset the GrContext before running each test.");
-DEFINE_bool(abandonGpuContext, false, "Abandon the GrContext after running each test. "
- "Implies --resetGpuContext.");
+DEFINE_bool(abandonGpuContext, false, "Abandon the GrContext after running each test.");
DEFINE_string(skps, "skps", "Directory to read skps from.");