From d4d0fb966060f7eaeb7b93e113482724c51c15e6 Mon Sep 17 00:00:00 2001 From: Jack Palevich Date: Tue, 26 Oct 2010 15:21:24 -0700 Subject: OpenGL tracing. Enable with: adb shell setprop debug.egl.trace 1 Change-Id: Icfbc795f5260141510975228e72234e9aab56a85 --- opengl/libs/hooks.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'opengl/libs/hooks.h') 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 -- cgit v1.2.3-59-g8ed1b