OpenGL.platform.glx
index
/var/pylive/OpenGL-ctypes/OpenGL/platform/glx.py

GLX (x-windows)-specific platform features

 
Modules
       
ctypes
OpenGL.platform.ctypesloader

 
Functions
       
CurrentContextIsValid = glXGetCurrentContext(...)
GetCurrentContext = glXGetCurrentContext(...)
getExtensionProcedure(name)
Retrieve void * to named extension procedure
getGLUTFontPointer(constant)
Platform specific function to retrieve a GLUT font pointer
 
GLUTAPI void *glutBitmap9By15;
#define GLUT_BITMAP_9_BY_15             (&glutBitmap9By15)
 
Key here is that we want the addressof the pointer in the DLL,
not the pointer in the DLL.  That is, our pointer is to the 
pointer defined in the DLL, we don't want the *value* stored in
that pointer.
glXGetProcAddressARB(...)
safeGetError = glGetError(...)

 
Data
        EXT_DEFINES_PROTO = True
GL = <CDLL 'libGL.so.1', handle 80cc0d8 at b7c16bcc>
GLE = <CDLL 'libgle.so.3', handle 80e8a68 at b7c2116c>
GLU = <CDLL 'libGLU.so.1', handle 80e74a8 at b7c2118c>
GLUT = <CDLL 'libglut.so.3', handle 80e7bf0 at b7c164ec>
GLX = <CDLL 'libGL.so.1', handle 80cc0d8 at b7c16bcc>
HAS_DYNAMIC_EXT = True
OpenGL = <CDLL 'libGL.so.1', handle 80cc0d8 at b7c16bcc>
__all__ = ('EXT_DEFINES_PROTO', 'HAS_DYNAMIC_EXT', 'GL', 'OpenGL', 'GLU', 'GLUT', 'GLE', 'GLX', 'FunctionType', 'GetCurrentContext', 'CurrentContextIsValid', 'getGLUTFontPointer', 'getExtensionProcedure', 'safeGetError')