|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.lwjgl.PointerWrapperAbstract
org.lwjgl.opengles.EGLDisplay
public final class EGLDisplay
EGLDisplay wrapper class.
Field Summary |
---|
Fields inherited from class org.lwjgl.PointerWrapperAbstract |
---|
pointer |
Method Summary | |
---|---|
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. |
Methods inherited from class org.lwjgl.PointerWrapperAbstract |
---|
checkValid, getPointer, hashCode, isValid, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public int getMajorVersion()
public int getMinorVersion()
public boolean isExtensionSupported(java.lang.String eglExtension)
eglExtension
- the EGL extension
public void terminate() throws LWJGLException
LWJGLException
public java.lang.String query(int name)
name
- the value to query
public 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |