Top Description Constructors Methods
org.lwjgl.opengl

public Class WGLNVSwapGroup

extends Object
Class Inheritance
Imports
java.nio.*, org.lwjgl.system.*

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.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static int
nwglQueryFrameCountNV(long hDC, long count)

public static int
nwglQueryMaxSwapGroupsNV(long hDC, long maxGroups, long maxBarriers)

public static int
nwglQuerySwapGroupNV(long hDC, long group, long barrier)

public static boolean
wglBindSwapBarrierNV(int group, int barrier)

public static boolean
wglJoinSwapGroupNV(long hDC, int group)

public static boolean
public static boolean
wglQueryFrameCountNV(long hDC, int[] count)

Array version of: QueryFrameCountNV

public static boolean
wglQueryMaxSwapGroupsNV(long hDC, IntBuffer maxGroups, IntBuffer maxBarriers)

public static boolean
wglQueryMaxSwapGroupsNV(long hDC, int[] maxGroups, int[] maxBarriers)

Array version of: QueryMaxSwapGroupsNV

public static boolean
wglQuerySwapGroupNV(long hDC, IntBuffer group, IntBuffer barrier)

public static boolean
wglQuerySwapGroupNV(long hDC, int[] group, int[] barrier)

Array version of: QuerySwapGroupNV

public static boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

WGLNVSwapGroupback to summary
protected WGLNVSwapGroup()

Method Detail

nwglQueryFrameCountNVback to summary
public static int nwglQueryFrameCountNV(long hDC, long count)
nwglQueryMaxSwapGroupsNVback to summary
public static int nwglQueryMaxSwapGroupsNV(long hDC, long maxGroups, long maxBarriers)
nwglQuerySwapGroupNVback to summary
public static int nwglQuerySwapGroupNV(long hDC, long group, long barrier)
wglBindSwapBarrierNVback to summary
public static boolean wglBindSwapBarrierNV(int group, int barrier)
Annotations
@NativeType:BOOL
wglJoinSwapGroupNVback to summary
public static boolean wglJoinSwapGroupNV(long hDC, int group)
Annotations
@NativeType:BOOL
wglQueryFrameCountNVback to summary
public static boolean wglQueryFrameCountNV(long hDC, IntBuffer count)
Annotations
@NativeType:BOOL
wglQueryFrameCountNVback to summary
public static boolean wglQueryFrameCountNV(long hDC, int[] count)

Array version of: QueryFrameCountNV

Annotations
@NativeType:BOOL
wglQueryMaxSwapGroupsNVback to summary
public static boolean wglQueryMaxSwapGroupsNV(long hDC, IntBuffer maxGroups, IntBuffer maxBarriers)
Annotations
@NativeType:BOOL
wglQueryMaxSwapGroupsNVback to summary
public static boolean wglQueryMaxSwapGroupsNV(long hDC, int[] maxGroups, int[] maxBarriers)

Array version of: QueryMaxSwapGroupsNV

Annotations
@NativeType:BOOL
wglQuerySwapGroupNVback to summary
public static boolean wglQuerySwapGroupNV(long hDC, IntBuffer group, IntBuffer barrier)
Annotations
@NativeType:BOOL
wglQuerySwapGroupNVback to summary
public static boolean wglQuerySwapGroupNV(long hDC, int[] group, int[] barrier)

Array version of: QuerySwapGroupNV

Annotations
@NativeType:BOOL
wglResetFrameCountNVback to summary
public static boolean wglResetFrameCountNV(long hDC)
Annotations
@NativeType:BOOL