Top Description Fields Constructors Methods
org.lwjgl.egl

public Class EXTDevicePersistentID

extends Object
Class Inheritance
Imports
javax.annotation.*, java.nio.*, org.lwjgl.system.*

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 Summary

Modifier and TypeField and Description
public static final int
EGL_DEVICE_UUID_EXT

Accepted by the name parameter of QueryDeviceBinaryEXT.

public static final int
EGL_DRIVER_NAME_EXT

Accepted by the name parameter of QueryDeviceStringEXT.

public static final int
EGL_DRIVER_UUID_EXT

Accepted by the name parameter of QueryDeviceBinaryEXT.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static boolean
eglQueryDeviceBinaryEXT(long device, int name, ByteBuffer value, IntBuffer size)

public static boolean
eglQueryDeviceBinaryEXT(long device, int name, ByteBuffer value, int[] size)

Array version of: QueryDeviceBinaryEXT

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

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

EGL_DEVICE_UUID_EXTback to summary
public static final int EGL_DEVICE_UUID_EXT

Accepted by the name parameter of QueryDeviceBinaryEXT.

EGL_DRIVER_NAME_EXTback to summary
public static final int EGL_DRIVER_NAME_EXT

Accepted by the name parameter of QueryDeviceStringEXT.

EGL_DRIVER_UUID_EXTback to summary
public static final int EGL_DRIVER_UUID_EXT

Accepted by the name parameter of QueryDeviceBinaryEXT.

Constructor Detail

EXTDevicePersistentIDback to summary
protected EXTDevicePersistentID()

Method Detail

eglQueryDeviceBinaryEXTback to summary
public static boolean eglQueryDeviceBinaryEXT(long device, int name, ByteBuffer value, IntBuffer size)
Annotations
@NativeType:EGLBoolean
eglQueryDeviceBinaryEXTback to summary
public static boolean eglQueryDeviceBinaryEXT(long device, int name, ByteBuffer value, int[] size)

Array version of: QueryDeviceBinaryEXT

Annotations
@NativeType:EGLBoolean
neglQueryDeviceBinaryEXTback to summary
public static int neglQueryDeviceBinaryEXT(long device, int name, int max_size, long value, long size)