Top Description Constructors Methods
org.lwjgl.opengl

public Class GLXSGIXSwapBarrier

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

Native bindings to the GLX_SGIX_swap_barrier extension.

This extension provides the capability to sychronize the buffer swaps of different swap groups.

Requires GLX_SGIX_swap_group.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static void
glXBindSwapBarrierSGIX(long
the connection to the X server
display
,
long
the swap group GLXDrawable
drawable
,
int
the swap barrier
barrier
)

Binds the swap group that contains drawable to barrier.

public static boolean
glXQueryMaxSwapBarriersSGIX(long
the connection to the X server
display
,
int
the screen
screen
,
IntBuffer
returns the maximum number of barriers
max
)

Returns in max the maximum number of barriers supported by an implementation on screen.

public static boolean
glXQueryMaxSwapBarriersSGIX(long display, int screen, int[] max)

Array version of: QueryMaxSwapBarriersSGIX

public static int
nglXQueryMaxSwapBarriersSGIX(long display, int screen, long max)

Unsafe version of: QueryMaxSwapBarriersSGIX

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

GLXSGIXSwapBarrierback to summary
protected GLXSGIXSwapBarrier()

Method Detail

glXBindSwapBarrierSGIXback to summary
public static void glXBindSwapBarrierSGIX(long display, long drawable, int barrier)

Binds the swap group that contains drawable to barrier. Subsequent buffer swaps for that group will be subject to this binding, until the group is unbound from barrier. If barrier is zero, the group is unbound from its current barrier, if any.

Parameters
display:long

the connection to the X server

drawable:long

the swap group GLXDrawable

barrier:int

the swap barrier

glXQueryMaxSwapBarriersSGIXback to summary
public static boolean glXQueryMaxSwapBarriersSGIX(long display, int screen, IntBuffer max)

Returns in max the maximum number of barriers supported by an implementation on screen.

Parameters
display:long

the connection to the X server

screen:int

the screen

max:IntBuffer

returns the maximum number of barriers

Annotations
@NativeType:Bool
glXQueryMaxSwapBarriersSGIXback to summary
public static boolean glXQueryMaxSwapBarriersSGIX(long display, int screen, int[] max)

Array version of: QueryMaxSwapBarriersSGIX

Annotations
@NativeType:Bool
nglXQueryMaxSwapBarriersSGIXback to summary
public static int nglXQueryMaxSwapBarriersSGIX(long display, int screen, long max)

Unsafe version of: QueryMaxSwapBarriersSGIX