summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/gpu_switches.h
diff options
context:
space:
mode:
authorgman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-14 03:36:26 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-14 03:36:26 +0000
commite844ae281f29bcff6de2757399c1e48c99a4ed33 (patch)
tree5301808ec04c83571bb631ce75da85c4c98cc443 /gpu/command_buffer/service/gpu_switches.h
parent7e379c121107ab6d04cbbed075e154b4bee43e95 (diff)
downloadchromium_src-e844ae281f29bcff6de2757399c1e48c99a4ed33.zip
chromium_src-e844ae281f29bcff6de2757399c1e48c99a4ed33.tar.gz
chromium_src-e844ae281f29bcff6de2757399c1e48c99a4ed33.tar.bz2
Add --enable-gpu-debugging to call glGetError after every command in the command buffer.
TEST=none BUG=107299 Review URL: http://codereview.chromium.org/8994013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117775 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service/gpu_switches.h')
-rw-r--r--gpu/command_buffer/service/gpu_switches.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/gpu_switches.h b/gpu/command_buffer/service/gpu_switches.h
new file mode 100644
index 0000000..4f30691
--- /dev/null
+++ b/gpu/command_buffer/service/gpu_switches.h
@@ -0,0 +1,18 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Defines all the command-line switches used by gpu/command_buffer/service/.
+
+#ifndef GPU_COMMAND_BUFFER_SERVICE_GPU_SWITCHES_H_
+#define GPU_COMMAND_BUFFER_SERVICE_GPU_SWITCHES_H_
+#pragma once
+
+namespace switches {
+
+extern const char kEnableGPUDebugging[];
+
+} // namespace switches
+
+#endif // GPU_COMMAND_BUFFER_SERVICE_GPU_SWITCHES_H_
+