glXQueryMaxSwapBarriersSGIX(3G)

glXQueryMaxSwapBarriersSGIX - query number of barriers supported on a screen

Showing IRIX 6.5.30 (default release). Unchanged since IRIX 6.5.

NAME
     glXQueryMaxSwapBarriersSGIX - 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.


DESCRIPTION
     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.

ERRORS
     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.

SEE ALSO
     glXBindSwapBarrierSGIX.