I
glXIsDirect
glXIsDirect
glXIsDirect: indicate whether direct rendering is enabled.
C Specification
Bool glXIsDirect(
Parameters
dpy
ctx
Description
glXIsDirect returns True if ctx is a direct rendering context, False otherwise. Direct
rendering contexts pass rendering commands directly from the calling process's address
space to the rendering system, bypassing the X server. Non-direct rendering contexts
pass all rendering commands to the X server.
Errors
•
See Also
glXCreateContext
242
Display *dpy,
GLXContext ctx)
Specifies the connection to the X server.
Specifies the GLX context that is being queried.
GLXBadContext is generated if ctx is not a valid GLX context.
Chapter 9