Yes, there some special handling to get at the GL ES/EGL, however, this does not work properly.
Install from package manger is just plain failing when using Ubuntu 10.10 ( amd64, Catalyst 11.5 and up ), Sabayon Linux ( amd64, Catalyst 11.8 ), and probably other distributions. The symptom is always the same when i run from the generated packages... The dlsym call will allow eglGetProcAddress to work, but when i go to use eglGetProcAddress to get any other functions the program will fail to get the address of the function because the use of eglGetProcAddress causes a segfault.
Now as for a comparison, using the same program with the official installer works.
anyways, i know that there is some library shuffles on most distributions, and both of these have that...
sabayon linux places libGL.so.1.2 in the following locations: ( fglrx_dri.so is in a standard location, namely /usr/lib/dri/fglrx_dri.so )
/usr/lib/opengl/ati/lib/libGL.so.1.2
/usr/lib32/opengl/ati/lib/libGL.so.1.2
/usr/lib64/opengl/ati/lib/libGL.so.1.2
now as for Ubuntu, I know they use the location /usr/lib(arch)/fglrx/libGL.so.1.2
I haven't tried kwin, but i've tried Gnome 2.3 and XFCE 4.x, and the openGL ES does not work on either when the driver is installed via the package manger.
Actually, I saw a bug report on this and it has a sample of openGL ES that is modified from the Official demo that amd released a while back for windows. (
Link to unofficial bug report page )