summaryrefslogtreecommitdiff
path: root/opengl/libs/hooks.h
diff options
context:
space:
mode:
author Jack Palevich <jackpal@google.com> 2010-10-26 15:21:24 -0700
committer Jack Palevich <jackpal@google.com> 2010-10-26 15:21:24 -0700
commitd4d0fb966060f7eaeb7b93e113482724c51c15e6 (patch)
treec0a9c5f199fe441609d2c3a800e6551bc559d732 /opengl/libs/hooks.h
parentf0a896b353e01c7093ba2ee0539f1a7cabef6ec6 (diff)
OpenGL tracing.
Enable with: adb shell setprop debug.egl.trace 1 Change-Id: Icfbc795f5260141510975228e72234e9aab56a85
Diffstat (limited to 'opengl/libs/hooks.h')
-rw-r--r--opengl/libs/hooks.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/opengl/libs/hooks.h b/opengl/libs/hooks.h
index 1ab58cc83349..812e26d10cb8 100644
--- a/opengl/libs/hooks.h
+++ b/opengl/libs/hooks.h
@@ -141,6 +141,11 @@ static gl_hooks_t const* getGlThreadSpecific() {
#endif
+#if EGL_TRACE
+
+extern gl_hooks_t const* getGLTraceThreadSpecific();
+
+#endif
// ----------------------------------------------------------------------------
}; // namespace android