Class EXTDeviceBase
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 TypeFieldDescriptionstatic final int
static final int
static final long
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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, IntBuffer num_devices) static String
eglQueryDeviceStringEXT
(long device, int name) static boolean
eglQueryDisplayAttribEXT
(long dpy, int attribute, PointerBuffer value) static int
neglQueryDeviceAttribEXT
(long device, int attribute, long value) static int
neglQueryDevicesEXT
(int max_devices, long devices, long num_devices) static long
neglQueryDeviceStringEXT
(long device, int name) static int
neglQueryDisplayAttribEXT
(long dpy, int attribute, long value)
-
Field Details
-
EGL_BAD_DEVICE_EXT
public static final int EGL_BAD_DEVICE_EXT- See Also:
-
EGL_DEVICE_EXT
public static final int EGL_DEVICE_EXT- See Also:
-
EGL_NO_DEVICE_EXT
public static final long EGL_NO_DEVICE_EXT- See Also:
-
-
Method Details
-
neglQueryDeviceAttribEXT
public static int neglQueryDeviceAttribEXT(long device, int attribute, long value) -
eglQueryDeviceAttribEXT
-
neglQueryDeviceStringEXT
public static long neglQueryDeviceStringEXT(long device, int name) -
eglQueryDeviceStringEXT
-
neglQueryDisplayAttribEXT
public static int neglQueryDisplayAttribEXT(long dpy, int attribute, long value) -
eglQueryDisplayAttribEXT
-
neglQueryDevicesEXT
public static int neglQueryDevicesEXT(int max_devices, long devices, long num_devices) -
eglQueryDevicesEXT
-
eglQueryDevicesEXT
Array version of:QueryDevicesEXT
-