Package org.lwjgl.egl

Class EXTDevicePersistentID

java.lang.Object
org.lwjgl.egl.EXTDevicePersistentID

public class EXTDevicePersistentID extends Object
Native bindings to the EXT_device_persistent_id extension.

Applications can query a list of EGLDeviceEXT handles, but those handles are only valid within the process that queried them. An application has no way, for example, to record its selection and select the same device when run again later.

This extension provides a vendor name and a set of UUID's, which provide a unique, persistent identifier for EGLDeviceEXT handles. This allows applications to find the EGLDeviceEXT for the same device across multiple processes, and across multiple APIs.

Requires EXT_device_query.

  • Field Details

  • Method Details

    • neglQueryDeviceBinaryEXT

      public static int neglQueryDeviceBinaryEXT(long device, int name, int max_size, long value, long size)
    • eglQueryDeviceBinaryEXT

      public static boolean eglQueryDeviceBinaryEXT(long device, int name, @Nullable ByteBuffer value, IntBuffer size)
    • eglQueryDeviceBinaryEXT

      public static boolean eglQueryDeviceBinaryEXT(long device, int name, @Nullable ByteBuffer value, int[] size)
      Array version of: QueryDeviceBinaryEXT