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, toStringpublic int getMajorVersion()
public int getMinorVersion()
public boolean isExtensionSupported(java.lang.String eglExtension)
eglExtension - the EGL extensionpublic void terminate()
throws LWJGLException
LWJGLExceptionpublic 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
LWJGLExceptionpublic 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)LWJGLExceptionpublic EGLContext createContext(EGLConfig config, EGLContext shareContext, java.nio.IntBuffer attrib_list) throws LWJGLException
LWJGLExceptionpublic void setSwapInterval(int interval)
throws LWJGLException
LWJGLExceptionpublic boolean equals(java.lang.Object obj)
equals in class PointerWrapperAbstractCopyright © 2002-2009 lwjgl.org. All Rights Reserved.