summaryrefslogtreecommitdiffstats
path: root/opengl/libs/EGL/egl_tls.h
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2011-05-23 17:26:14 -0700
committerMathias Agopian <mathias@google.com>2011-05-23 17:48:36 -0700
commitf56a960105916a7fd12284109784e5f667661439 (patch)
treec9fa837dcead24d70a36167e9e3e338f6ae7e4b3 /opengl/libs/EGL/egl_tls.h
parent8e4ee2d709bb76454d0571d13128bd68c894633a (diff)
downloadframeworks_base-f56a960105916a7fd12284109784e5f667661439.zip
frameworks_base-f56a960105916a7fd12284109784e5f667661439.tar.gz
frameworks_base-f56a960105916a7fd12284109784e5f667661439.tar.bz2
fix x86 build
Change-Id: I03cfbfeaeb8b13842248856b14b4a23711036e10
Diffstat (limited to 'opengl/libs/EGL/egl_tls.h')
-rw-r--r--opengl/libs/EGL/egl_tls.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/opengl/libs/EGL/egl_tls.h b/opengl/libs/EGL/egl_tls.h
index 8b31468..a7989ef 100644
--- a/opengl/libs/EGL/egl_tls.h
+++ b/opengl/libs/EGL/egl_tls.h
@@ -21,7 +21,12 @@
#include <EGL/egl.h>
+#include "egldefs.h"
+#include "hooks.h"
+
+// ----------------------------------------------------------------------------
namespace android {
+// ----------------------------------------------------------------------------
class DbgContext;
@@ -58,6 +63,16 @@ public:
#define setError(_e, _r) egl_tls_t::setErrorEtc(__FUNCTION__, __LINE__, _e, _r)
+// ----------------------------------------------------------------------------
+
+#if EGL_TRACE
+
+extern gl_hooks_t const* getGLTraceThreadSpecific();
+
+#endif
+
+// ----------------------------------------------------------------------------
}; // namespace android
+// ----------------------------------------------------------------------------
#endif // ANDROID_EGL_TLS_H