Does anyone know where OpenGL 2.0 functions are defined in the fglrx driver? I don't see them in any of the headers from xorg-x11-drv-catalyst-devel from rpmfusion.org.
I'm looking for a GL header with these functions:
glGetShaderiv
glGetShaderInfoLog
glGetProgramiv
glGetProgramInfoLog
glGenFramebuffers
glBindFramebuffer
glFramebufferTexture2D
glGenRenderbuffers
glRenderbufferStorage
glFramebufferRenderbuffer
glCheckFramebufferStatus
glCreateShader
glShaderSource
glCompileShader
glCreateProgram
glAttachShader
glLinkProgram
glValidateProgram
glDeleteRenderbuffers
glDeleteFramebuffers
glDetachShader
glDeleteShader
glDeleteProgram
The odd part is that these are all defined symbols in /usr/lib64/catalyst/libGL.so.1.2 from xorg-x11-drv-catalyst-libs. But there is no xorg-x11-drv-catalyst-libs-devel package. It's like there's a missing package somewhere.
---------- Post added at 08:56 PM ---------- Previous post was at 08:37 PM ----------
Ah, I guess you are supposed to use GET_PROC_ADDRESS to dynamically load these functions from the driver. I would rather use GLEW, but it hangs for some reason. You can see how this is done in the included fgl_glxgears.c example. Does anyone know if its kosher to use the mesa headers that define these functions with the catalyst driver library? Seems like it shouldn't be...