On 02/27/2014 11:52 PM, Eric Anholt wrote:
[email protected] writes:
From: Jerome Glisse <[email protected]>
There is no reason anymore to load with RTLD_GLOBAL and for some driver
this even result in dlclose failing to unload leading to catastrophic
failure with swrast fallback.
I don't remember the last time drivers relied on GL symbols being
present -- we've been using _mesa_ prefixed stuff in meta for many
years, for example. I think this should be plenty safe.
It has been almost a decade... we started encountering apps that did
things like
PFNGLGETBUFFERPOINTERVPROC glGetBufferPointerv;
in their code. When we tried to call glGetBufferPointerv internally, we
jumped to the function pointer in the application's data segment... and
exploded. That's when we added all the CALL_GetBufferPointerv type
macros to directly call through the dispatch pointer instead.
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Should this be marked for 10.1 or even earlier stable?
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev