Indicates whether direct rendering is enabled.
OpenGL C bindings library: libGL.a
Bool glXIsDirect(Display *dpy GLXContext Context)
The glXIsDirect subroutine returns a value of True if the Context parameter supplied is a direct rendering context. Otherwise, False is returned. Direct rendering contexts bypass the X server and pass rendering commands directly from the address space of the calling process to the rendering system. Nondirect rendering contexts pass all rendering commands to the X server.
dpy | Specifies the connection to the X server. |
Context | Specifies the GLX context being queried. |
True | Returned if Context is a direct rendering context. |
False | Returned if Context is not a direct rendering context. |
GLXBadContext | Context is not a valid GLX context. |
The glXCreateContext subroutine.
OpenGL in the AIXwindows (GLX) Environment.