Top Description Fields Constructors Methods
org.lwjgl.egl

public Class EXTDeviceBase

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

Native bindings to the EXT_device_base extension.

Increasingly, EGL and its client APIs are being used in place of "native" rendering APIs to implement the basic graphics functionality of native windowing systems. This creates demand for a method to initialize EGL displays and surfaces directly on top of native GPU or device objects rather than native window system objects. The mechanics of enumerating the underlying native devices and constructing EGL displays and surfaces from them have been solved in various platform and implementation- specific ways. The EGL device family of extensions offers a standardized framework for bootstrapping EGL without the use of any underlying "native" APIs or functionality.

This extension defines the first step of this bootstrapping process: Device enumeration.

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final long

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static boolean
eglQueryDeviceAttribEXT(long device, int attribute, PointerBuffer value)

public static boolean
public static boolean
eglQueryDevicesEXT(PointerBuffer devices, int[] num_devices)

Array version of: QueryDevicesEXT

public static String
eglQueryDeviceStringEXT(long device, int name)

public static boolean
eglQueryDisplayAttribEXT(long dpy, int attribute, PointerBuffer value)

public static int
neglQueryDeviceAttribEXT(long device, int attribute, long value)

public static int
neglQueryDevicesEXT(int max_devices, long devices, long num_devices)

public static long
neglQueryDeviceStringEXT(long device, int name)

public static int
neglQueryDisplayAttribEXT(long dpy, int attribute, long value)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

EGL_BAD_DEVICE_EXTback to summary
public static final int EGL_BAD_DEVICE_EXT
EGL_DEVICE_EXTback to summary
public static final int EGL_DEVICE_EXT
EGL_NO_DEVICE_EXTback to summary
public static final long EGL_NO_DEVICE_EXT

Constructor Detail

EXTDeviceBaseback to summary
protected EXTDeviceBase()

Method Detail

eglQueryDeviceAttribEXTback to summary
public static boolean eglQueryDeviceAttribEXT(long device, int attribute, PointerBuffer value)
Annotations
@NativeType:EGLBoolean
eglQueryDevicesEXTback to summary
public static boolean eglQueryDevicesEXT(PointerBuffer devices, IntBuffer num_devices)
Annotations
@NativeType:EGLBoolean
eglQueryDevicesEXTback to summary
public static boolean eglQueryDevicesEXT(PointerBuffer devices, int[] num_devices)

Array version of: QueryDevicesEXT

Annotations
@NativeType:EGLBoolean
eglQueryDeviceStringEXTback to summary
public static String eglQueryDeviceStringEXT(long device, int name)
Annotations
@Nullable
@NativeType:char *
eglQueryDisplayAttribEXTback to summary
public static boolean eglQueryDisplayAttribEXT(long dpy, int attribute, PointerBuffer value)
Annotations
@NativeType:EGLBoolean
neglQueryDeviceAttribEXTback to summary
public static int neglQueryDeviceAttribEXT(long device, int attribute, long value)
neglQueryDevicesEXTback to summary
public static int neglQueryDevicesEXT(int max_devices, long devices, long num_devices)
neglQueryDeviceStringEXTback to summary
public static long neglQueryDeviceStringEXT(long device, int name)
neglQueryDisplayAttribEXTback to summary
public static int neglQueryDisplayAttribEXT(long dpy, int attribute, long value)