summaryrefslogtreecommitdiff
path: root/src/egl/drivers
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2013-12-06 02:21:17 -0800
committerIan Romanick <ian.d.romanick@intel.com>2013-12-09 17:28:20 -0800
commitfdede182756e01690df62cece8a022c437274201 (patch)
treec6156146cc11602320931d7994ab11e5b972509f /src/egl/drivers
parent4cbd4246315314cbd6e9c93013f93363a1a376cb (diff)
dri megadriver_stub: add compatibility for older DRI loaders
To help the transition period when DRI loaders are being updated to support the newer __driDriverExtensions_foo mechanism, we populate __driDriverExtensions with the extensions returned by __driDriverExtensions_foo during a library contructor function. We find the driver foo's name by using the dladdr function which gives the path of the dynamic library's name that was being loaded. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Keith Packard <keithp@keithp.com> Cc: "10.0" <mesa-stable@lists.freedesktop.org> (cherry picked from commit 4859d492b25cba61f43bb883d878d6388be742be)
Diffstat (limited to 'src/egl/drivers')
0 files changed, 0 insertions, 0 deletions