diff options
author | Chia-I Wu <olv@lunarg.com> | 2011-01-30 05:09:06 +0800 |
---|---|---|
committer | Chia-I Wu <olv@lunarg.com> | 2011-01-30 05:28:24 +0800 |
commit | 218381d92755fa080bbb5635c0c4ed6d5296b79c (patch) | |
tree | 9566380058c5df94f3990d758c8d9b56343cf92f /src/gallium/drivers/r600/r600_upload.c | |
parent | f36cba6cf3d51a3937d3bb429609d258399751a0 (diff) |
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.
Diffstat (limited to 'src/gallium/drivers/r600/r600_upload.c')
0 files changed, 0 insertions, 0 deletions