Top Description Constructors Methods
org.lwjgl.opengl

public Class GLXNVSwapGroup

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

Native 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.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static boolean
glXBindSwapBarrierNV(long
the connection to the X server
display
,
int group, int barrier)

public static boolean
glXJoinSwapGroupNV(long
the connection to the X server
display
,
long drawable, int group)

public static boolean
glXQueryFrameCountNV(long
the connection to the X server
display
,
int screen, IntBuffer count)

public static boolean
glXQueryFrameCountNV(long display, int screen, int[] count)

Array version of: QueryFrameCountNV

public static boolean
glXQueryMaxSwapGroupsNV(long
the connection to the X server
display
,
int screen, IntBuffer maxGroups, IntBuffer maxBarriers)

public static boolean
glXQueryMaxSwapGroupsNV(long display, int screen, int[] maxGroups, int[] maxBarriers)

Array version of: QueryMaxSwapGroupsNV

public static boolean
glXQuerySwapGroupNV(long
the connection to the X server
display
,
long drawable, IntBuffer group, IntBuffer barrier)

public static boolean
glXQuerySwapGroupNV(long display, long drawable, int[] group, int[] barrier)

Array version of: QuerySwapGroupNV

public static boolean
glXResetFrameCountNV(long
the connection to the X server
display
,
int screen)

public static int
nglXQueryFrameCountNV(long display, int screen, long count)

Unsafe version of: QueryFrameCountNV

public static int
nglXQueryMaxSwapGroupsNV(long display, int screen, long maxGroups, long maxBarriers)

Unsafe version of: QueryMaxSwapGroupsNV

public static int
nglXQuerySwapGroupNV(long display, long drawable, long group, long barrier)

Unsafe version of: QuerySwapGroupNV

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

GLXNVSwapGroupback to summary
protected GLXNVSwapGroup()

Method Detail

glXBindSwapBarrierNVback to summary
public static boolean glXBindSwapBarrierNV(long display, int group, int barrier)
Parameters
display:long

the connection to the X server

Annotations
@NativeType:Bool
glXJoinSwapGroupNVback to summary
public static boolean glXJoinSwapGroupNV(long display, long drawable, int group)
Parameters
display:long

the connection to the X server

Annotations
@NativeType:Bool
glXQueryFrameCountNVback to summary
public static boolean glXQueryFrameCountNV(long display, int screen, IntBuffer count)
Parameters
display:long

the connection to the X server

Annotations
@NativeType:Bool
glXQueryFrameCountNVback to summary
public static boolean glXQueryFrameCountNV(long display, int screen, int[] count)

Array version of: QueryFrameCountNV

Annotations
@NativeType:Bool
glXQueryMaxSwapGroupsNVback to summary
public static boolean glXQueryMaxSwapGroupsNV(long display, int screen, IntBuffer maxGroups, IntBuffer maxBarriers)
Parameters
display:long

the connection to the X server

Annotations
@NativeType:Bool
glXQueryMaxSwapGroupsNVback to summary
public static boolean glXQueryMaxSwapGroupsNV(long display, int screen, int[] maxGroups, int[] maxBarriers)

Array version of: QueryMaxSwapGroupsNV

Annotations
@NativeType:Bool
glXQuerySwapGroupNVback to summary
public static boolean glXQuerySwapGroupNV(long display, long drawable, IntBuffer group, IntBuffer barrier)
Parameters
display:long

the connection to the X server

Annotations
@NativeType:Bool
glXQuerySwapGroupNVback to summary
public static boolean glXQuerySwapGroupNV(long display, long drawable, int[] group, int[] barrier)

Array version of: QuerySwapGroupNV

Annotations
@NativeType:Bool
glXResetFrameCountNVback to summary
public static boolean glXResetFrameCountNV(long display, int screen)
Parameters
display:long

the connection to the X server

Annotations
@NativeType:Bool
nglXQueryFrameCountNVback to summary
public static int nglXQueryFrameCountNV(long display, int screen, long count)

Unsafe version of: QueryFrameCountNV

nglXQueryMaxSwapGroupsNVback to summary
public static int nglXQueryMaxSwapGroupsNV(long display, int screen, long maxGroups, long maxBarriers)

Unsafe version of: QueryMaxSwapGroupsNV

nglXQuerySwapGroupNVback to summary
public static int nglXQuerySwapGroupNV(long display, long drawable, long group, long barrier)

Unsafe version of: QuerySwapGroupNV