summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
Diffstat (limited to 'gpu')
-rw-r--r--gpu/command_buffer/client/gpu_switches.cc3
-rw-r--r--gpu/command_buffer/client/gpu_switches.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/gpu/command_buffer/client/gpu_switches.cc b/gpu/command_buffer/client/gpu_switches.cc
index 7f7abef8..8b2acaf 100644
--- a/gpu/command_buffer/client/gpu_switches.cc
+++ b/gpu/command_buffer/client/gpu_switches.cc
@@ -9,4 +9,7 @@ namespace switches {
// Enable GPU client logging.
const char kEnableGPUClientLogging[] = "enable-gpu-client-logging";
+// Enables TRACE for GL calls in the renderer.
+const char kEnableGpuClientTracing[] = "enable-gpu-client-tracing";
+
} // namespace switches
diff --git a/gpu/command_buffer/client/gpu_switches.h b/gpu/command_buffer/client/gpu_switches.h
index 523e5a4..07df3d8 100644
--- a/gpu/command_buffer/client/gpu_switches.h
+++ b/gpu/command_buffer/client/gpu_switches.h
@@ -11,6 +11,7 @@
namespace switches {
+GLES2_IMPL_EXPORT extern const char kEnableGpuClientTracing[];
GLES2_IMPL_EXPORT extern const char kEnableGPUClientLogging[];
} // namespace switches