Jordan Justen <[email protected]> writes:

> 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.
>
> v2:
>  * dladdr on public symbol __driDriverExtensions rather
>    than static megadriver_stub_init.
>  * Incorporate fixes and suggestions from Keith

Reviewed-by: Keith Packard <[email protected]>

-- 
[email protected]

Attachment: pgp1rPNEULXgK.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to