OpenGL.platform.glx
index
/var/pylive/src/OpenGL-dev/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 611930 at 2b54fad04c10>
GLE = <CDLL 'libgle.so.3', handle 6163e0 at 2b54fad17c10>
GLU = <CDLL 'libGLU.so.1', handle 614240 at 2b54fad04ad0>
GLUT = <CDLL 'libglut.so.3', handle 615560 at 2b54fad04b10>
GLX = <CDLL 'libGL.so.1', handle 611930 at 2b54fad04c10>
HAS_DYNAMIC_EXT = True
OpenGL = <CDLL 'libGL.so.1', handle 611930 at 2b54fad04c10>
__all__ = ('EXT_DEFINES_PROTO', 'HAS_DYNAMIC_EXT', 'GL', 'OpenGL', 'GLU', 'GLUT', 'GLE', 'GLX', 'FunctionType', 'GetCurrentContext', 'CurrentContextIsValid', 'getGLUTFontPointer', 'getExtensionProcedure', 'safeGetError')