Class WGLNVSwapGroup


  • public class WGLNVSwapGroup
    extends java.lang.Object
    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.

    • Method Detail

      • wglJoinSwapGroupNV

        public static boolean wglJoinSwapGroupNV​(long hDC,
                                                 int group)
      • wglBindSwapBarrierNV

        public static boolean wglBindSwapBarrierNV​(int group,
                                                   int barrier)
      • nwglQuerySwapGroupNV

        public static int nwglQuerySwapGroupNV​(long hDC,
                                               long group,
                                               long barrier)
      • wglQuerySwapGroupNV

        public static boolean wglQuerySwapGroupNV​(long hDC,
                                                  java.nio.IntBuffer group,
                                                  java.nio.IntBuffer barrier)
      • nwglQueryMaxSwapGroupsNV

        public static int nwglQueryMaxSwapGroupsNV​(long hDC,
                                                   long maxGroups,
                                                   long maxBarriers)
      • wglQueryMaxSwapGroupsNV

        public static boolean wglQueryMaxSwapGroupsNV​(long hDC,
                                                      java.nio.IntBuffer maxGroups,
                                                      java.nio.IntBuffer maxBarriers)
      • nwglQueryFrameCountNV

        public static int nwglQueryFrameCountNV​(long hDC,
                                                long count)
      • wglQueryFrameCountNV

        public static boolean wglQueryFrameCountNV​(long hDC,
                                                   java.nio.IntBuffer count)
      • wglResetFrameCountNV

        public static boolean wglResetFrameCountNV​(long hDC)
      • wglQuerySwapGroupNV

        public static boolean wglQuerySwapGroupNV​(long hDC,
                                                  int[] group,
                                                  int[] barrier)
        Array version of: QuerySwapGroupNV
      • wglQueryMaxSwapGroupsNV

        public static boolean wglQueryMaxSwapGroupsNV​(long hDC,
                                                      int[] maxGroups,
                                                      int[] maxBarriers)
        Array version of: QueryMaxSwapGroupsNV
      • wglQueryFrameCountNV

        public static boolean wglQueryFrameCountNV​(long hDC,
                                                   int[] count)
        Array version of: QueryFrameCountNV