Package org.lwjgl.egl
Class EXTDevicePersistentID
- java.lang.Object
-
- org.lwjgl.egl.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 theEGLDeviceEXT
for the same device across multiple processes, and across multiple APIs.Requires
EXT_device_query
.
-
-
Field Summary
Fields Modifier and Type Field Description static int
EGL_DEVICE_UUID_EXT
Accepted by thename
parameter ofQueryDeviceBinaryEXT
.static int
EGL_DRIVER_NAME_EXT
Accepted by thename
parameter ofQueryDeviceStringEXT
.static int
EGL_DRIVER_UUID_EXT
Accepted by thename
parameter ofQueryDeviceBinaryEXT
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
eglQueryDeviceBinaryEXT(long device, int name, java.nio.ByteBuffer value, int[] size)
Array version of:QueryDeviceBinaryEXT
static boolean
eglQueryDeviceBinaryEXT(long device, int name, java.nio.ByteBuffer value, java.nio.IntBuffer size)
static int
neglQueryDeviceBinaryEXT(long device, int name, int max_size, long value, long size)
-
-
-
Field Detail
-
EGL_DRIVER_NAME_EXT
Accepted by thename
parameter ofQueryDeviceStringEXT
.
-
EGL_DEVICE_UUID_EXT, EGL_DRIVER_UUID_EXT
Accepted by thename
parameter ofQueryDeviceBinaryEXT
.
-
-
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
-
-