Index: gpu/command_buffer/service/gpu_switches.cc |
diff --git a/gpu/command_buffer/service/gpu_switches.cc b/gpu/command_buffer/service/gpu_switches.cc |
index 795df7e1094e962eb6d8ed0af2d6dc189cf1b69e..2000b9a9170720c50f2da24ecb7d381b221dfebe 100644 |
--- a/gpu/command_buffer/service/gpu_switches.cc |
+++ b/gpu/command_buffer/service/gpu_switches.cc |
@@ -3,6 +3,7 @@ |
// found in the LICENSE file. |
#include "gpu/command_buffer/service/gpu_switches.h" |
+#include "base/basictypes.h" |
namespace switches { |
@@ -18,4 +19,13 @@ const char kEnableGPUCommandLogging[] = "enable-gpu-command-logging"; |
// Turn on Calling GL Error after every command. |
const char kEnableGPUDebugging[] = "enable-gpu-debugging"; |
+const char* kGpuSwitches[] = { |
+ kCompileShaderAlwaysSucceeds, |
+ kDisableGLSLTranslator, |
+ kEnableGPUCommandLogging, |
+ kEnableGPUDebugging, |
+}; |
+ |
+const int kNumGpuSwitches = arraysize(kGpuSwitches); |
+ |
} // namespace switches |