glXQueryMaxSwapBarriersSGIX(3G) OpenGL Reference - GLX
NAMEglXQueryMaxSwapBarriersSGIX - query number of barriers supported on a
screen
C SPECIFICATION
Bool glXQueryMaxSwapBarriersSGIX( Display *dpy,
int screen,
int *max )
PARAMETERS
dpy Specifies the connection to the X server.
screen Specifies a window on the screen.
max Returns the number of barriers.
DESCRIPTIONglXQueryMaxSwapBarriersSGIX 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.
ERRORSglXQueryMaxSwapBarriersSGIX 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.
SEE ALSO
glXBindSwapBarrierSGIX.
Page 1