summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/gpu_switches.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/service/gpu_switches.cc')
-rw-r--r--gpu/command_buffer/service/gpu_switches.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/gpu_switches.cc b/gpu/command_buffer/service/gpu_switches.cc
index 2000b9a..ed5e083 100644
--- a/gpu/command_buffer/service/gpu_switches.cc
+++ b/gpu/command_buffer/service/gpu_switches.cc
@@ -19,11 +19,15 @@ const char kEnableGPUCommandLogging[] = "enable-gpu-command-logging";
// Turn on Calling GL Error after every command.
const char kEnableGPUDebugging[] = "enable-gpu-debugging";
+// Enforce GL minimums.
+const char kEnforceGLMinimums[] = "enforce-gl-minimums";
+
const char* kGpuSwitches[] = {
kCompileShaderAlwaysSucceeds,
kDisableGLSLTranslator,
kEnableGPUCommandLogging,
kEnableGPUDebugging,
+ kEnforceGLMinimums,
};
const int kNumGpuSwitches = arraysize(kGpuSwitches);