Package org.lwjgl.opengl
Class WGLNVSwapGroup
- java.lang.Object
-
- org.lwjgl.opengl.WGLNVSwapGroup
-
public class WGLNVSwapGroup extends java.lang.ObjectNative 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
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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, java.nio.IntBuffer count)static booleanwglQueryMaxSwapGroupsNV(long hDC, int[] maxGroups, int[] maxBarriers)Array version of:QueryMaxSwapGroupsNVstatic booleanwglQueryMaxSwapGroupsNV(long hDC, java.nio.IntBuffer maxGroups, java.nio.IntBuffer maxBarriers)static booleanwglQuerySwapGroupNV(long hDC, int[] group, int[] barrier)Array version of:QuerySwapGroupNVstatic booleanwglQuerySwapGroupNV(long hDC, java.nio.IntBuffer group, java.nio.IntBuffer barrier)static booleanwglResetFrameCountNV(long hDC)
-
-
-
Method Detail
-
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
public static boolean wglQuerySwapGroupNV(long hDC, java.nio.IntBuffer group, java.nio.IntBuffer barrier)
-
nwglQueryMaxSwapGroupsNV
public static int nwglQueryMaxSwapGroupsNV(long hDC, long maxGroups, long maxBarriers)
-
wglQueryMaxSwapGroupsNV
public static boolean wglQueryMaxSwapGroupsNV(long hDC, java.nio.IntBuffer maxGroups, java.nio.IntBuffer maxBarriers)
-
nwglQueryFrameCountNV
public static int nwglQueryFrameCountNV(long hDC, long count)
-
wglQueryFrameCountNV
public static boolean wglQueryFrameCountNV(long hDC, java.nio.IntBuffer count)
-
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
-
-