From 9d17c057bdb9da5fa991a2c3efebe453106ca0a7 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Thu, 28 May 2009 17:39:03 -0700 Subject: implement a real loader for EGL drivers we now look for a config file in /system/lib/egl/egl.cfg that describes the association of a display to a driver. these drivers are named: /system/lib/egl/lib{[EGL|GLESv1_CM|GLESv2] | GLES}_$TAG.so --- opengl/libs/hooks.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'opengl/libs/hooks.h') diff --git a/opengl/libs/hooks.h b/opengl/libs/hooks.h index 1257785c03d5..37292eef07ec 100644 --- a/opengl/libs/hooks.h +++ b/opengl/libs/hooks.h @@ -21,12 +21,12 @@ #include #include +#include + #include #include - #include #include - #include #include @@ -102,6 +102,13 @@ struct gl_hooks_t { extern gl_hooks_t gHooks[IMPL_NUM_IMPLEMENTATIONS]; extern pthread_key_t gGLWrapperKey; +extern "C" void gl_unimplemented(); + +extern char const * const gl_names[]; +extern char const * const gl2_names[]; +extern char const * const egl_names[]; + +// ---------------------------------------------------------------------------- #if USE_FAST_TLS_KEY -- cgit v1.2.3-59-g8ed1b