Class GLXSGIXSwapGroup

java.lang.Object
org.lwjgl.opengl.GLXSGIXSwapGroup

public class GLXSGIXSwapGroup extends Object
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 Details

    • glXJoinSwapGroupSGIX

      public static void glXJoinSwapGroupSGIX(long display, long drawable, long member)
      Adds drawable to the swap group containing member as a member. If drawable is already a member of a different group, it is implicitly removed from that group first. If member is None, drawable is removed from the swap group that it belongs to, if any.
      Parameters:
      display - the connection to the X server
      drawable - the GLXDrawable to add to the swap group
      member - a member of the swap group or None