[Mesa-dev] [PATCH 11/20] glapi: Remove static dispatch for functions that didn't exist in fglrx

Emil Velikov emil.l.velikov at gmail.com
Thu May 14 15:01:30 PDT 2015


On 13/05/15 19:44, Ian Romanick wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
> 
> Comparing the output of
> 
>     nm -D arch/x86_64/usr/X11R6/lib64/fglrx/fglrx-libGL.so.1.2 |\
>         grep ' T gl[^X]' | sed 's/.* T //'
> 
> between Catalyst 14.6 Beta and this commit, the only change is a bunch
> of functions that AMD exports that Mesa does not and some OpenGL ES
> 1.1 functions.
> 
> The OpenGL ES 1.1 functions (e.g., glAlphaFuncx) are added by extensions
> in desktop.  Our infrastructure doesn't allow us to statically export a
> function in one lib and not in another.  The GLES1 conformance tests
> expect to be able to link with these functions, so we have to export
> them.
> 
Iirc the Catalyst driver has some (unofficial ?) support for EGL/GLES
via symlinking the libs to libGL. I'm assuming that is the reason which
"inspired" their library to export those symbols. Imho there is no
reason to even remotely worry about them.

-Emil


More information about the mesa-dev mailing list