Package org.lwjgl.opengl
Class WGLNVSwapGroup
java.lang.Object
org.lwjgl.opengl.WGLNVSwapGroup
Native bindings to the WGL_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
Modifier and TypeMethodDescriptionstatic intnwglQueryFrameCountNV(long hDC, long count) static intnwglQueryMaxSwapGroupsNV(long hDC, long maxGroups, long maxBarriers) static intnwglQuerySwapGroupNV(long hDC, long group, long barrier) static booleanwglBindSwapBarrierNV(int group, int barrier) static booleanwglJoinSwapGroupNV(long hDC, int group) static booleanwglQueryFrameCountNV(long hDC, int[] count) Array version of:QueryFrameCountNVstatic booleanwglQueryFrameCountNV(long hDC, IntBuffer count) static booleanwglQueryMaxSwapGroupsNV(long hDC, int[] maxGroups, int[] maxBarriers) Array version of:QueryMaxSwapGroupsNVstatic booleanwglQueryMaxSwapGroupsNV(long hDC, IntBuffer maxGroups, IntBuffer maxBarriers) static booleanwglQuerySwapGroupNV(long hDC, int[] group, int[] barrier) Array version of:QuerySwapGroupNVstatic booleanwglQuerySwapGroupNV(long hDC, IntBuffer group, IntBuffer barrier) static booleanwglResetFrameCountNV(long hDC)
-
Method Details
-
wglJoinSwapGroupNV
public static boolean wglJoinSwapGroupNV(long hDC, int group) -
wglBindSwapBarrierNV
public static boolean wglBindSwapBarrierNV(int group, int barrier) -
nwglQuerySwapGroupNV
public static int nwglQuerySwapGroupNV(long hDC, long group, long barrier) -
wglQuerySwapGroupNV
-
nwglQueryMaxSwapGroupsNV
public static int nwglQueryMaxSwapGroupsNV(long hDC, long maxGroups, long maxBarriers) -
wglQueryMaxSwapGroupsNV
-
nwglQueryFrameCountNV
public static int nwglQueryFrameCountNV(long hDC, long count) -
wglQueryFrameCountNV
-
wglResetFrameCountNV
public static boolean wglResetFrameCountNV(long hDC) -
wglQuerySwapGroupNV
public static boolean wglQuerySwapGroupNV(long hDC, int[] group, int[] barrier) Array version of:QuerySwapGroupNV -
wglQueryMaxSwapGroupsNV
public static boolean wglQueryMaxSwapGroupsNV(long hDC, int[] maxGroups, int[] maxBarriers) Array version of:QueryMaxSwapGroupsNV -
wglQueryFrameCountNV
public static boolean wglQueryFrameCountNV(long hDC, int[] count) Array version of:QueryFrameCountNV
-