Package org.lwjgl.opengl
Class WGLNVSwapGroup
- java.lang.Object
-
- org.lwjgl.opengl.WGLNVSwapGroup
-
public class WGLNVSwapGroup extends java.lang.Object
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
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static boolean
wglBindSwapBarrierNV(int group, int barrier)
static boolean
wglJoinSwapGroupNV(long hDC, int group)
static boolean
wglQueryFrameCountNV(long hDC, int[] count)
Array version of:QueryFrameCountNV
static boolean
wglQueryFrameCountNV(long hDC, java.nio.IntBuffer count)
static boolean
wglQueryMaxSwapGroupsNV(long hDC, int[] maxGroups, int[] maxBarriers)
Array version of:QueryMaxSwapGroupsNV
static boolean
wglQueryMaxSwapGroupsNV(long hDC, java.nio.IntBuffer maxGroups, java.nio.IntBuffer maxBarriers)
static boolean
wglQuerySwapGroupNV(long hDC, int[] group, int[] barrier)
Array version of:QuerySwapGroupNV
static boolean
wglQuerySwapGroupNV(long hDC, java.nio.IntBuffer group, java.nio.IntBuffer barrier)
static boolean
wglResetFrameCountNV(long hDC)
-
-
-
Method Detail
-
wglJoinSwapGroupNV
public static boolean wglJoinSwapGroupNV(long hDC, int group)
-
wglBindSwapBarrierNV
public static boolean wglBindSwapBarrierNV(int group, int barrier)
-
wglQuerySwapGroupNV
public static boolean wglQuerySwapGroupNV(long hDC, java.nio.IntBuffer group, java.nio.IntBuffer barrier)
-
wglQueryMaxSwapGroupsNV
public static boolean wglQueryMaxSwapGroupsNV(long hDC, java.nio.IntBuffer maxGroups, java.nio.IntBuffer maxBarriers)
-
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
-
-