diff options
author | Jordan Justen <[email protected]> | 2013-12-06 02:21:17 -0800 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2013-12-09 16:33:45 -0800 |
commit | 4859d492b25cba61f43bb883d878d6388be742be (patch) | |
tree | 2577343905a27877f15515e5ea66056f1cbbf355 /src/mesa/drivers/dri/swrast/swrast.c | |
parent | 4ed055b4a6c9e18c0bb9b6c66ef2d04b78a5dcff (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 <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Keith Packard <[email protected]>
Cc: "10.0" <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/swrast/swrast.c')
0 files changed, 0 insertions, 0 deletions