Package org.lwjgl.egl

Class NVSync

java.lang.Object
org.lwjgl.egl.NVSync

public class NVSync extends Object
Native bindings to the NV_sync extension.

This extension introduces the concept of "sync objects" into EGL. Sync objects are a synchronization primitive, representing events whose completion can be tested or waited upon. This extension borrows heavily from the GL_ARB_sync extension, and like that extension, introduces only a single type of sync object, the "fence sync object." Additional types of sync objects may be introduced in later extensions.

Fence sync objects have corresponding fences, which are inserted into client API command streams. A sync object can be queried for a given condition, such as completion of the corresponding fence. Fence completion allows applications to request a partial Finish of an API command stream, wherein all commands issued in a particular client API context will be forced to complete before control is returned to the calling thread.

Requires EGL 1.1.

  • Field Details

  • Method Details

    • neglCreateFenceSyncNV

      public static long neglCreateFenceSyncNV(long dpy, int condition, long attrib_list)
    • eglCreateFenceSyncNV

      public static long eglCreateFenceSyncNV(long dpy, int condition, IntBuffer attrib_list)
    • eglDestroySyncNV

      public static boolean eglDestroySyncNV(long sync)
    • eglFenceNV

      public static boolean eglFenceNV(long sync)
    • eglClientWaitSyncNV

      public static int eglClientWaitSyncNV(long sync, int flags, long timeout)
    • eglSignalSyncNV

      public static boolean eglSignalSyncNV(long sync, int mode)
    • neglGetSyncAttribNV

      public static int neglGetSyncAttribNV(long sync, int attribute, long value)
    • eglGetSyncAttribNV

      public static boolean eglGetSyncAttribNV(long sync, int attribute, IntBuffer value)
    • eglCreateFenceSyncNV

      public static long eglCreateFenceSyncNV(long dpy, int condition, int[] attrib_list)
      Array version of: CreateFenceSyncNV
    • eglGetSyncAttribNV

      public static boolean eglGetSyncAttribNV(long sync, int attribute, int[] value)
      Array version of: GetSyncAttribNV