Package org.lwjgl.egl

Class EXTDevicePersistentID


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

    • Method Detail

      • 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
                                                      java.nio.ByteBuffer value,
                                                      java.nio.IntBuffer size)
      • eglQueryDeviceBinaryEXT

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