summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gpu_process_host.cc
diff options
context:
space:
mode:
authorapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-07 23:19:16 +0000
committerapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-07 23:19:16 +0000
commit1c0585d585bc9f88ee177553b66e0025d7fe3aa0 (patch)
treedcce9c6dcbe4634483104b236a87e42d694bbeb1 /chrome/browser/gpu_process_host.cc
parentfd3a7df6c4caaeceb8402daa2c1b357c7f78331f (diff)
downloadchromium_src-1c0585d585bc9f88ee177553b66e0025d7fe3aa0.zip
chromium_src-1c0585d585bc9f88ee177553b66e0025d7fe3aa0.tar.gz
chromium_src-1c0585d585bc9f88ee177553b66e0025d7fe3aa0.tar.bz2
Added switch to disable GPU vsync.
This is useful for GPU performance testing because the vsync caps the frame rate. TEST=try BUG=none Review URL: http://codereview.chromium.org/3380011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61877 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gpu_process_host.cc')
-rw-r--r--chrome/browser/gpu_process_host.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/gpu_process_host.cc b/chrome/browser/gpu_process_host.cc
index 8e2242e..6bd5b87 100644
--- a/chrome/browser/gpu_process_host.cc
+++ b/chrome/browser/gpu_process_host.cc
@@ -91,6 +91,7 @@ bool GpuProcessHost::Init() {
// Propagate relevant command line switches.
static const char* const kSwitchNames[] = {
switches::kUseGL,
+ switches::kDisableGpuVsync,
switches::kDisableLogging,
switches::kEnableLogging,
switches::kGpuStartupDialog,