PointerWrapperpublic final class EGLDisplay extends PointerWrapperAbstract
pointer| Modifier and Type | Method | Description |
|---|---|---|
EGLConfig[] |
chooseConfig(IntBuffer attrib_list,
EGLConfig[] configs,
IntBuffer num_config) |
Returns the available EGL configs on this display that satisfy the specified list of attributes.
|
EGLContext |
createContext(EGLConfig config,
EGLContext shareContext,
IntBuffer attrib_list) |
|
EGLSurface |
createWindowSurface(EGLConfig config,
long window,
IntBuffer attrib_list) |
Creates an on-screen rendering surface on this EGL display.
|
boolean |
equals(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(String eglExtension) |
Returns true if the specified EGL extension is supported by this EGL display.
|
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.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcheckValid, getPointer, hashCode, isValid, toStringpublic int getMajorVersion()
public int getMinorVersion()
public boolean isExtensionSupported(String eglExtension)
eglExtension - the EGL extensionpublic void terminate()
throws LWJGLException
LWJGLExceptionpublic String query(int name)
name - the value to querypublic EGLConfig[] chooseConfig(IntBuffer attrib_list, EGLConfig[] configs, IntBuffer num_config) throws LWJGLException
LWJGLExceptionpublic EGLSurface createWindowSurface(EGLConfig config, long window, 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, IntBuffer attrib_list) throws LWJGLException
LWJGLExceptionpublic void setSwapInterval(int interval)
throws LWJGLException
LWJGLExceptionpublic boolean equals(Object obj)
equals in class PointerWrapperAbstractCopyright © 2002-2009 lwjgl.org. All Rights Reserved.