glXBindSwapBarrierSGIX(3G) OpenGL Reference - GLX glXBindSwapBarrierSGIX(3G)
glXBindSwapBarrierSGIX - synchronize buffer swaps with other screens
void glXBindSwapBarrierSGIX( Display *dpy,
GLXDrawable drawable,
int barrier )
dpy Specifies the connection to the X server.
drawable Specifies any GLX drawable in the swap group.
barrier Specifies the barrier.
glXBindSwapBarrierSGIX is part of the SGIX_swap_barrier extension.
glXBindSwapBarrierSGIX binds the swap group containing drawable to
barrier. Buffer swaps to all members of all groups bound to barrier will
then take place concurrently, after all of their swap intervals have
elapsed. Typically, the other swap groups bound to a barrier will reside
on other screens or hosts. The parameter barrier must be greater than or
equal to zero and less than or equal to the number of supported barriers
returned by glXQueryMaxSwapBarriersSGIX.
If barrier is zero, the swap group is bound to no barrier.
glXBindSwapBarrierSGIX is part of the stream of X calls; to synchronize
with OpenGL calls, use glXWaitX or glXWaitGL.
GLXBadDrawable is generated if drawable is not a valid GLX drawable.
BadValue is generated if barrier is already bound to another swap group,
or if barrier is invalid.
glXSwapBuffers, glXSwapIntervalSGI, glXJoinSwapGroupSGIX,
glXQueryMaxSwapBarriersSGIX.
PPPPaaaaggggeeee 1111 [ Back ]
|