public final class EGLDisplay extends PointerWrapperAbstract
pointer
Modifier and Type | Method and Description |
---|---|
EGLConfig[] |
chooseConfig(java.nio.IntBuffer attrib_list,
EGLConfig[] configs,
java.nio.IntBuffer num_config)
Returns the available EGL configs on this display that satisfy the specified list of attributes.
|
EGLContext |
createContext(EGLConfig config,
EGLContext shareContext,
java.nio.IntBuffer attrib_list) |
EGLSurface |
createWindowSurface(EGLConfig config,
long window,
java.nio.IntBuffer attrib_list)
Creates an on-screen rendering surface on this EGL display.
|
boolean |
equals(java.lang.Object obj) |
int |
getMajorVersion()
Returns the major EGL version of this EGL display.
|
int |
getMinorVersion()
Returns the minor EGL version of this EGL display.
|
boolean |
isExtensionSupported(java.lang.String eglExtension)
Returns true if the specified EGL extension is supported by this EGL display.
|
java.lang.String |
query(int name)
Returns a string describing some aspect of the EGL implementation running on the specified display.
|
void |
setSwapInterval(int interval) |
void |
terminate()
Release the resources associated with this EGL display.
|
checkValid, getPointer, hashCode, isValid, toString
public int getMajorVersion()
public int getMinorVersion()
public boolean isExtensionSupported(java.lang.String eglExtension)
eglExtension
- the EGL extensionpublic void terminate() throws LWJGLException
LWJGLException
public java.lang.String query(int name)
name
- the value to querypublic EGLConfig[] chooseConfig(java.nio.IntBuffer attrib_list, EGLConfig[] configs, java.nio.IntBuffer num_config) throws LWJGLException
LWJGLException
public EGLSurface createWindowSurface(EGLConfig config, long window, java.nio.IntBuffer attrib_list) throws LWJGLException
config
- the EGL configwindow
- the native window handleattrib_list
- an attribute list (may be null)LWJGLException
public EGLContext createContext(EGLConfig config, EGLContext shareContext, java.nio.IntBuffer attrib_list) throws LWJGLException
LWJGLException
public void setSwapInterval(int interval) throws LWJGLException
LWJGLException
public boolean equals(java.lang.Object obj)
equals
in class PointerWrapperAbstract
Copyright © 2002-2009 lwjgl.org. All Rights Reserved.