Package org.lwjgl.egl

Class EXTOutputBase



  • public class EXTOutputBase
    extends java.lang.Object
    Native bindings to the EXT_output_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 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.

    • Method Detail

      • eglGetOutputLayersEXT

        public static boolean eglGetOutputLayersEXT(long dpy,
                                                    PointerBuffer attrib_list,
                                                    PointerBuffer layers,
                                                    java.nio.IntBuffer num_layers)
      • eglGetOutputPortsEXT

        public static boolean eglGetOutputPortsEXT(long dpy,
                                                   PointerBuffer attrib_list,
                                                   PointerBuffer ports,
                                                   java.nio.IntBuffer num_ports)
      • eglOutputLayerAttribEXT

        public static boolean eglOutputLayerAttribEXT(long dpy,
                                                      long layer,
                                                      int attribute,
                                                      long value)
      • eglQueryOutputLayerAttribEXT

        public static boolean eglQueryOutputLayerAttribEXT(long dpy,
                                                           long layer,
                                                           int attribute,
                                                           PointerBuffer value)
      • eglQueryOutputLayerStringEXT

        public static java.lang.String eglQueryOutputLayerStringEXT(long dpy,
                                                                    long layer,
                                                                    int name)
      • eglOutputPortAttribEXT

        public static boolean eglOutputPortAttribEXT(long dpy,
                                                     long port,
                                                     int attribute,
                                                     long value)
      • eglQueryOutputPortAttribEXT

        public static boolean eglQueryOutputPortAttribEXT(long dpy,
                                                          long port,
                                                          int attribute,
                                                          PointerBuffer value)
      • eglQueryOutputPortStringEXT

        public static java.lang.String eglQueryOutputPortStringEXT(long dpy,
                                                                   long port,
                                                                   int name)