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

      • 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,
                                                    java.nio.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,
                                                   java.nio.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

        @Nullable
        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)
      • 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

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