Class EGLDisplay

    • Method Detail

      • getMajorVersion

        public int getMajorVersion()
        Returns the major EGL version of this EGL display.
        Returns:
        the major EGL version
      • getMinorVersion

        public int getMinorVersion()
        Returns the minor EGL version of this EGL display.
        Returns:
        the minor EGL version
      • isExtensionSupported

        public boolean isExtensionSupported​(String eglExtension)
        Returns true if the specified EGL extension is supported by this EGL display.
        Parameters:
        eglExtension - the EGL extension
        Returns:
        true if the extension is supported
      • query

        public String query​(int name)
        Returns a string describing some aspect of the EGL implementation running on the specified display.
        Parameters:
        name - the value to query
        Returns:
        the description
      • createWindowSurface

        public EGLSurface createWindowSurface​(EGLConfig config,
                                              long window,
                                              IntBuffer attrib_list)
                                       throws LWJGLException
        Creates an on-screen rendering surface on this EGL display.
        Parameters:
        config - the EGL config
        window - the native window handle
        attrib_list - an attribute list (may be null)
        Returns:
        the EGL surface
        Throws:
        LWJGLException