Class EXTOutputBase
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 new EGL resource types for referencing display control hardware associated with an EGL device. Its purpose is to allow rendering to be directed to a screen in the absence of (or bypassing) a window system. Because the use models for these resources are potentially diverse, only the objects themselves and basic functions to acquire and query them are defined here. More detailed functions and enumerants required to operate on outputs are provided by separate extensions.
Requires EXT_device_base
.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final long
static final long
static final int
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
eglGetOutputLayersEXT
(long dpy, PointerBuffer attrib_list, PointerBuffer layers, int[] num_layers) Array version of:GetOutputLayersEXT
static boolean
eglGetOutputLayersEXT
(long dpy, PointerBuffer attrib_list, PointerBuffer layers, IntBuffer num_layers) static boolean
eglGetOutputPortsEXT
(long dpy, PointerBuffer attrib_list, PointerBuffer ports, int[] num_ports) Array version of:GetOutputPortsEXT
static boolean
eglGetOutputPortsEXT
(long dpy, PointerBuffer attrib_list, PointerBuffer ports, IntBuffer num_ports) static boolean
eglOutputLayerAttribEXT
(long dpy, long layer, int attribute, long value) static boolean
eglOutputPortAttribEXT
(long dpy, long port, int attribute, long value) static boolean
eglQueryOutputLayerAttribEXT
(long dpy, long layer, int attribute, PointerBuffer value) static String
eglQueryOutputLayerStringEXT
(long dpy, long layer, int name) static boolean
eglQueryOutputPortAttribEXT
(long dpy, long port, int attribute, PointerBuffer value) static String
eglQueryOutputPortStringEXT
(long dpy, long port, int name) static int
neglGetOutputLayersEXT
(long dpy, long attrib_list, long layers, int max_layers, long num_layers) static int
neglGetOutputPortsEXT
(long dpy, long attrib_list, long ports, int max_ports, long num_ports) static int
neglQueryOutputLayerAttribEXT
(long dpy, long layer, int attribute, long value) static long
neglQueryOutputLayerStringEXT
(long dpy, long layer, int name) static int
neglQueryOutputPortAttribEXT
(long dpy, long port, int attribute, long value) static long
neglQueryOutputPortStringEXT
(long dpy, long port, int name)
-
Field Details
-
EGL_BAD_OUTPUT_LAYER_EXT
public static final int EGL_BAD_OUTPUT_LAYER_EXT- See Also:
-
EGL_BAD_OUTPUT_PORT_EXT
public static final int EGL_BAD_OUTPUT_PORT_EXT- See Also:
-
EGL_SWAP_INTERVAL_EXT
public static final int EGL_SWAP_INTERVAL_EXT- See Also:
-
EGL_NO_OUTPUT_LAYER_EXT
public static final long EGL_NO_OUTPUT_LAYER_EXT- See Also:
-
EGL_NO_OUTPUT_PORT_EXT
public static final long EGL_NO_OUTPUT_PORT_EXT- See Also:
-
-
Method Details
-
neglGetOutputLayersEXT
public static int neglGetOutputLayersEXT(long dpy, long attrib_list, long layers, int max_layers, long num_layers) -
eglGetOutputLayersEXT
public static boolean eglGetOutputLayersEXT(long dpy, @Nullable PointerBuffer attrib_list, @Nullable PointerBuffer layers, IntBuffer num_layers) -
neglGetOutputPortsEXT
public static int neglGetOutputPortsEXT(long dpy, long attrib_list, long ports, int max_ports, long num_ports) -
eglGetOutputPortsEXT
public static boolean eglGetOutputPortsEXT(long dpy, @Nullable PointerBuffer attrib_list, @Nullable PointerBuffer ports, IntBuffer num_ports) -
eglOutputLayerAttribEXT
public static boolean eglOutputLayerAttribEXT(long dpy, long layer, int attribute, long value) -
neglQueryOutputLayerAttribEXT
public static int neglQueryOutputLayerAttribEXT(long dpy, long layer, int attribute, long value) -
eglQueryOutputLayerAttribEXT
public static boolean eglQueryOutputLayerAttribEXT(long dpy, long layer, int attribute, PointerBuffer value) -
neglQueryOutputLayerStringEXT
public static long neglQueryOutputLayerStringEXT(long dpy, long layer, int name) -
eglQueryOutputLayerStringEXT
-
eglOutputPortAttribEXT
public static boolean eglOutputPortAttribEXT(long dpy, long port, int attribute, long value) -
neglQueryOutputPortAttribEXT
public static int neglQueryOutputPortAttribEXT(long dpy, long port, int attribute, long value) -
eglQueryOutputPortAttribEXT
public static boolean eglQueryOutputPortAttribEXT(long dpy, long port, int attribute, PointerBuffer value) -
neglQueryOutputPortStringEXT
public static long neglQueryOutputPortStringEXT(long dpy, long port, int name) -
eglQueryOutputPortStringEXT
-
eglGetOutputLayersEXT
public static boolean eglGetOutputLayersEXT(long dpy, @Nullable PointerBuffer attrib_list, @Nullable PointerBuffer layers, int[] num_layers) Array version of:GetOutputLayersEXT
-
eglGetOutputPortsEXT
public static boolean eglGetOutputPortsEXT(long dpy, @Nullable PointerBuffer attrib_list, @Nullable PointerBuffer ports, int[] num_ports) Array version of:GetOutputPortsEXT
-