Class EXTDeviceBase
- java.lang.Object
-
- org.lwjgl.egl.EXTDeviceBase
-
public class EXTDeviceBase extends java.lang.Object
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
Fields Modifier and Type Field and Description static int
EGL_BAD_DEVICE_EXT
EGL_DEVICE_EXTstatic long
EGL_NO_DEVICE_EXT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static boolean
eglQueryDeviceAttribEXT(long device, int attribute, PointerBuffer value)
static boolean
eglQueryDevicesEXT(PointerBuffer devices, int[] num_devices)
Array version of:QueryDevicesEXT
static boolean
eglQueryDevicesEXT(PointerBuffer devices, java.nio.IntBuffer num_devices)
static java.lang.String
eglQueryDeviceStringEXT(long device, int name)
static boolean
eglQueryDisplayAttribEXT(long dpy, int attribute, PointerBuffer value)
-
-
-
Field Detail
-
EGL_BAD_DEVICE_EXT
public static final int EGL_BAD_DEVICE_EXT
- See Also:
- Constant Field Values
-
EGL_DEVICE_EXT
public static final int EGL_DEVICE_EXT
- See Also:
- Constant Field Values
-
EGL_NO_DEVICE_EXT
public static final long EGL_NO_DEVICE_EXT
- See Also:
- Constant Field Values
-
-
Method Detail
-
eglQueryDeviceAttribEXT
public static boolean eglQueryDeviceAttribEXT(long device, int attribute, PointerBuffer value)
-
eglQueryDeviceStringEXT
public static java.lang.String eglQueryDeviceStringEXT(long device, int name)
-
eglQueryDisplayAttribEXT
public static boolean eglQueryDisplayAttribEXT(long dpy, int attribute, PointerBuffer value)
-
eglQueryDevicesEXT
public static boolean eglQueryDevicesEXT(PointerBuffer devices, java.nio.IntBuffer num_devices)
-
eglQueryDevicesEXT
public static boolean eglQueryDevicesEXT(PointerBuffer devices, int[] num_devices)
Array version of:QueryDevicesEXT
-
-