public class GLXSGIXSwapBarrier
extends java.lang.Object
This extension provides the capability to sychronize the buffer swaps of different swap groups.
Requires GLX_SGIX_swap_group.
| Modifier and Type | Method and Description |
|---|---|
static void |
glXBindSwapBarrierSGIX(long display,
long drawable,
int barrier)
Binds the swap group that contains
drawable to barrier. |
static boolean |
glXQueryMaxSwapBarriersSGIX(long display,
int screen,
int[] max)
Array version of:
QueryMaxSwapBarriersSGIX |
static boolean |
glXQueryMaxSwapBarriersSGIX(long display,
int screen,
java.nio.IntBuffer max)
Returns in
max the maximum number of barriers supported by an implementation on screen. |
static int |
nglXQueryMaxSwapBarriersSGIX(long display,
int screen,
long max)
Unsafe version of:
QueryMaxSwapBarriersSGIX |
public static void glXBindSwapBarrierSGIX(long display,
long drawable,
int barrier)
drawable to barrier. Subsequent buffer swaps for that group will be subject to this binding, until
the group is unbound from barrier. If barrier is zero, the group is unbound from its current barrier, if any.display - the connection to the X serverdrawable - the swap group GLXDrawablebarrier - the swap barrierpublic static int nglXQueryMaxSwapBarriersSGIX(long display,
int screen,
long max)
QueryMaxSwapBarriersSGIXpublic static boolean glXQueryMaxSwapBarriersSGIX(long display,
int screen,
java.nio.IntBuffer max)
max the maximum number of barriers supported by an implementation on screen.display - the connection to the X serverscreen - the screenmax - returns the maximum number of barrierspublic static boolean glXQueryMaxSwapBarriersSGIX(long display,
int screen,
int[] max)
QueryMaxSwapBarriersSGIXCopyright LWJGL. All Rights Reserved. License terms.