Package org.lwjgl.opengl
Class GLXNVSwapGroup
- java.lang.Object
-
- org.lwjgl.opengl.GLXNVSwapGroup
-
public class GLXNVSwapGroup extends java.lang.ObjectNative bindings to the GLX_NV_swap_group extension.This extension provides the capability to synchronize the buffer swaps of a group of OpenGL windows. A swap group is created, and windows are added as members to the swap group. Buffer swaps to members of the swap group will then take place concurrently.
This extension also provides the capability to sychronize the buffer swaps of different swap groups, which may reside on distributed systems on a network. For this purpose swap groups can be bound to a swap barrier.
This extension extends the set of conditions that must be met before a buffer swap can take place.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanglXBindSwapBarrierNV(long display, int group, int barrier)static booleanglXJoinSwapGroupNV(long display, long drawable, int group)static booleanglXQueryFrameCountNV(long display, int screen, int[] count)Array version of:QueryFrameCountNVstatic booleanglXQueryFrameCountNV(long display, int screen, java.nio.IntBuffer count)static booleanglXQueryMaxSwapGroupsNV(long display, int screen, int[] maxGroups, int[] maxBarriers)Array version of:QueryMaxSwapGroupsNVstatic booleanglXQueryMaxSwapGroupsNV(long display, int screen, java.nio.IntBuffer maxGroups, java.nio.IntBuffer maxBarriers)static booleanglXQuerySwapGroupNV(long display, long drawable, int[] group, int[] barrier)Array version of:QuerySwapGroupNVstatic booleanglXQuerySwapGroupNV(long display, long drawable, java.nio.IntBuffer group, java.nio.IntBuffer barrier)static booleanglXResetFrameCountNV(long display, int screen)static intnglXQueryFrameCountNV(long display, int screen, long count)Unsafe version of:QueryFrameCountNVstatic intnglXQueryMaxSwapGroupsNV(long display, int screen, long maxGroups, long maxBarriers)Unsafe version of:QueryMaxSwapGroupsNVstatic intnglXQuerySwapGroupNV(long display, long drawable, long group, long barrier)Unsafe version of:QuerySwapGroupNV
-
-
-
Method Detail
-
glXJoinSwapGroupNV, glXBindSwapBarrierNV
public static boolean glXJoinSwapGroupNV(long display, long drawable, int group) public static boolean glXBindSwapBarrierNV(long display, int group, int barrier)- Parameters:
display- the connection to the X server
-
nglXQuerySwapGroupNV
public static int nglXQuerySwapGroupNV(long display, long drawable, long group, long barrier)Unsafe version of:QuerySwapGroupNV
-
glXQuerySwapGroupNV
public static boolean glXQuerySwapGroupNV(long display, long drawable, java.nio.IntBuffer group, java.nio.IntBuffer barrier)- Parameters:
display- the connection to the X server
-
nglXQueryMaxSwapGroupsNV
public static int nglXQueryMaxSwapGroupsNV(long display, int screen, long maxGroups, long maxBarriers)Unsafe version of:QueryMaxSwapGroupsNV
-
glXQueryMaxSwapGroupsNV
public static boolean glXQueryMaxSwapGroupsNV(long display, int screen, java.nio.IntBuffer maxGroups, java.nio.IntBuffer maxBarriers)- Parameters:
display- the connection to the X server
-
nglXQueryFrameCountNV
public static int nglXQueryFrameCountNV(long display, int screen, long count)Unsafe version of:QueryFrameCountNV
-
glXQueryFrameCountNV, glXResetFrameCountNV
public static boolean glXQueryFrameCountNV(long display, int screen, java.nio.IntBuffer count) public static boolean glXResetFrameCountNV(long display, int screen)- Parameters:
display- the connection to the X server
-
glXQuerySwapGroupNV
public static boolean glXQuerySwapGroupNV(long display, long drawable, int[] group, int[] barrier)Array version of:QuerySwapGroupNV
-
glXQueryMaxSwapGroupsNV
public static boolean glXQueryMaxSwapGroupsNV(long display, int screen, int[] maxGroups, int[] maxBarriers)Array version of:QueryMaxSwapGroupsNV
-
glXQueryFrameCountNV
public static boolean glXQueryFrameCountNV(long display, int screen, int[] count)Array version of:QueryFrameCountNV
-
-