OpenGL.GLX.EXT.import_context

OpenGL extension EXT.import_context
This module customises the behaviour of the OpenGL.raw.GLX.EXT.import_context to provide a more Python-friendly API
Overview (from the spec)
This extension allows multiple X clients to share an indirect rendering context.
Additional convenience procedures to get the current Display* bound to a context as well as other context information are also added.
The official definition of this extension is available here: http://www.opengl.org/registry/specs/EXT/import_context.txt

Functions

glXFreeContextEXT( dpy , context )
glXGetContextIDEXT( context ) -> <class 'ctypes.c_ulong'>
glXImportContextEXT( dpy , contextID ) -> <class 'OpenGL.raw.GLX._types.LP_struct___GLXcontextRec'>
glXQueryContextInfoEXT( dpy , context , attribute , value ) -> <class 'ctypes.c_int'>

Constants

GLX_SCREEN_EXT (32780)
GLX_SHARE_CONTEXT_EXT (32778)
GLX_VISUAL_ID_EXT (32779)