Package org.lwjgl.opengl
Class GLXSGIXSwapGroup
java.lang.Object
org.lwjgl.opengl.GLXSGIXSwapGroup
Native bindings to the GLX_SGIX_swap_group extension.
This extension provides the capability to synchronize the buffer swaps of a group of GLX drawables. A swap group is created, and drawables are added as members to the swap group. Buffer swaps to members of the swap group will then take place concurrently.
This extension extends the set of conditions that must be met before a buffer swap can take place.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
glXJoinSwapGroupSGIX
(long display, long drawable, long member) Addsdrawable
to the swap group containingmember
as a member.
-
Method Details
-
glXJoinSwapGroupSGIX
public static void glXJoinSwapGroupSGIX(long display, long drawable, long member) Addsdrawable
to the swap group containingmember
as a member. Ifdrawable
is already a member of a different group, it is implicitly removed from that group first. Ifmember
isNone
,drawable
is removed from the swap group that it belongs to, if any.- Parameters:
display
- the connection to the X serverdrawable
- the GLXDrawable to add to the swap groupmember
- a member of the swap group orNone
-