PointerWrapper
public 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, wait
checkValid, getPointer, hashCode, isValid, toString
public int getMajorVersion()
public int getMinorVersion()
public boolean isExtensionSupported(String eglExtension)
eglExtension
- the EGL extensionpublic void terminate() throws LWJGLException
LWJGLException
public String query(int name)
name
- the value to querypublic EGLConfig[] chooseConfig(IntBuffer attrib_list, EGLConfig[] configs, IntBuffer num_config) throws LWJGLException
LWJGLException
public 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)LWJGLException
public EGLContext createContext(EGLConfig config, EGLContext shareContext, IntBuffer attrib_list) throws LWJGLException
LWJGLException
public void setSwapInterval(int interval) throws LWJGLException
LWJGLException
public boolean equals(Object obj)
equals
in class PointerWrapperAbstract
Copyright © 2002-2009 lwjgl.org. All Rights Reserved.