glXQueryMaxSwapBarriersSGIX(3G) OpenGL Reference - GLX
glXQueryMaxSwapBarriersSGIX - query number of barriers supported on a
screen
Bool glXQueryMaxSwapBarriersSGIX( Display *dpy,
int screen,
int *max )
dpy Specifies the connection to the X server.
screen Specifies a window on the screen.
max Returns the number of barriers.
glXQueryMaxSwapBarriersSGIX is part of the SGIX_swap_barrier extension.
glXQueryMaxSwapBarriersSGIX returns in max the number of barriers
supported on the screen of screen. This determines the valid range of
the barrier parameter to glXBindSwapBarrierSGIX.
glXQueryMaxSwapBarriersSGIX returns True if it succeeds, False otherwise.
If False is returned, max is not updated.
BadWindow is generated if screen is not a valid X window.
glXBindSwapBarrierSGIX.
PPPPaaaaggggeeee 1111 [ Back ]
|