mesa/src/egl
Chia-I Wu 218381d927 egl_dri2: Export glapi symbols for DRI drivers.
When an app loads libEGL.so dynamically with RTLD_LOCAL, loading DRI
drivers would fail because of missing glapi symbols.  This commit makes
egl_dri2 load libglapi.so with RTLD_GLOBAL to export glapi symbols for
future symbol resolutions.

The same trick can be found in GLX.  However, egl_dri2 can only do so
when --enable-shared-glapi is given.  Because, otherwise, both libGL.so
and libglapi.so define glapi symbols and egl_dri2 cannot tell which
library to load.
2011-01-30 05:28:24 +08:00
..
docs egl: Mark EGL_MESA_screen_surface as obsolete. 2010-08-31 15:25:22 +08:00
drivers egl_dri2: Export glapi symbols for DRI drivers. 2011-01-30 05:28:24 +08:00
main egl: Make the transition to built-in drivers more smooth. 2011-01-30 04:55:08 +08:00
Makefile egl: Make egl_dri2 and egl_glx built-in drivers. 2011-01-10 11:50:34 +08:00