Package org.lwjgl.opengl
Class GLXSGIXSwapBarrier
- java.lang.Object
-
- org.lwjgl.opengl.GLXSGIXSwapBarrier
-
public class GLXSGIXSwapBarrier extends java.lang.ObjectNative bindings to the GLX_SGIX_swap_barrier extension.This extension provides the capability to sychronize the buffer swaps of different swap groups.
Requires
GLX_SGIX_swap_group.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidglXBindSwapBarrierSGIX(long display, long drawable, int barrier)Binds the swap group that containsdrawabletobarrier.static intglXQueryMaxSwapBarriersSGIX(long display, int screen, int[] max)Array version of:QueryMaxSwapBarriersSGIXstatic intglXQueryMaxSwapBarriersSGIX(long display, int screen, java.nio.IntBuffer max)Returns inmaxthe maximum number of barriers supported by an implementation onscreen.
-
-
-
Method Detail
-
glXBindSwapBarrierSGIX
public static void glXBindSwapBarrierSGIX(long display, long drawable, int barrier)Binds the swap group that containsdrawabletobarrier. Subsequent buffer swaps for that group will be subject to this binding, until the group is unbound frombarrier. Ifbarrieris zero, the group is unbound from its current barrier, if any.- Parameters:
display- the connection to the X serverdrawable- the swap group GLXDrawablebarrier- the swap barrier
-
glXQueryMaxSwapBarriersSGIX
public static int glXQueryMaxSwapBarriersSGIX(long display, int screen, java.nio.IntBuffer max)Returns inmaxthe maximum number of barriers supported by an implementation onscreen.- Parameters:
display- the connection to the X serverscreen- the screenmax- returns the maximum number of barriers
-
glXQueryMaxSwapBarriersSGIX
public static int glXQueryMaxSwapBarriersSGIX(long display, int screen, int[] max)Array version of:QueryMaxSwapBarriersSGIX
-
-