glXCreateContext( dpy
,
vis
,
shareList
,
direct )
-> <class 'OpenGL.raw.GLX._types.LP_struct___GLXcontextRec'>
Parameters
Variables
Description
dpy
Specifies the connection to the X server.
vis
Specifies the visual that defines the frame buffer resources available to
the rendering context.
It is a pointer to an
XVisualInfo
structure,
not a visual ID or a pointer to a
Visual
.
shareList
Specifies the context with which to share display lists.
NULL
indicates that no sharing is to take place.
direct
Specifies whether rendering is to be done with a direct connection
to the graphics system if possible (
True
)
or through the X server (
False
).