Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
javax.media.opengl.GLContext
com.sun.opengl.impl.GLContextImpl
com.sun.opengl.impl.x11.X11GLContext
public abstract class X11GLContext
extends GLContextImpl
Field Summary | |
protected long | |
protected X11GLDrawable | |
protected long |
Fields inherited from class com.sun.opengl.impl.GLContextImpl | |
DEBUG , NO_FREE , VERBOSE , functionAvailability , gl , lock , optimizationEnabled |
Fields inherited from class javax.media.opengl.GLContext | |
CONTEXT_CURRENT , CONTEXT_CURRENT_NEW , CONTEXT_NOT_CURRENT |
Constructor Summary | |
|
Method Summary | |
void | |
protected abstract void |
|
protected void |
|
protected void | |
long | |
GLDrawable |
|
GLXExt | |
GLXExtProcAddressTable | |
int | |
int | |
String | |
Object | |
ByteBuffer |
|
boolean | |
boolean |
|
protected boolean |
|
boolean | |
protected void | |
protected int | |
protected String |
|
protected String |
|
boolean | |
protected void | |
void | |
protected void | |
void |
|
protected void |
Methods inherited from class javax.media.opengl.GLContext | |
destroy , getCurrent , getGL , getGLDrawable , isSynchronized , makeCurrent , release , setCurrent , setGL , setSynchronized |
public void bindPbufferToTexture()
- Overrides:
- bindPbufferToTexture in interface GLContextImpl
protected abstract void create()
Helper routine which usually just turns around and calls createContext (except for pbuffers, which use a different context creation mechanism). Should only be called bymakeCurrentImpl()
.
protected void createContext(boolean onscreen)
Creates and initializes an appropriate OpenGL context. Should only be called bycreate()
.
protected void destroyImpl() throws GLException
- Overrides:
- destroyImpl in interface GLContextImpl
public long getContext()
public GLDrawable getGLDrawable()
Returns the GLDrawable to which this context may be used to draw.
- Overrides:
- getGLDrawable in interface GLContext
public int getOffscreenContextPixelDataType()
- Overrides:
- getOffscreenContextPixelDataType in interface GLContextImpl
public int getOffscreenContextReadBuffer()
public String getPlatformExtensionsString()
- Overrides:
- getPlatformExtensionsString in interface GLContextImpl
public Object getPlatformGLExtensions()
- Overrides:
- getPlatformGLExtensions in interface GLContextImpl
public ByteBuffer glAllocateMemoryNV(int arg0, float arg1, float arg2, float arg3)
- Overrides:
- glAllocateMemoryNV in interface GLContextImpl
public boolean isExtensionAvailable(String glExtensionName)
- Overrides:
- isExtensionAvailable in interface GLContextImpl
protected boolean isFunctionAvailable(String glFunctionName)
- Overrides:
- isFunctionAvailable in interface GLContextImpl
protected void lockToolkit()
protected int makeCurrentImpl() throws GLException
- Overrides:
- makeCurrentImpl in interface GLContextImpl
protected String mapToRealGLExtensionName(String glExtensionName)
- Overrides:
- mapToRealGLExtensionName in interface GLContextImpl
protected String mapToRealGLFunctionName(String glFunctionName)
- Overrides:
- mapToRealGLFunctionName in interface GLContextImpl
public boolean offscreenImageNeedsVerticalFlip()
- Overrides:
- offscreenImageNeedsVerticalFlip in interface GLContextImpl
protected void releaseImpl() throws GLException
- Overrides:
- releaseImpl in interface GLContextImpl
public void releasePbufferFromTexture()
- Overrides:
- releasePbufferFromTexture in interface GLContextImpl
protected void resetGLFunctionAvailability()
- Overrides:
- resetGLFunctionAvailability in interface GLContextImpl
public void setSwapInterval(int interval)
- Overrides:
- setSwapInterval in interface GLContextImpl
protected void unlockToolkit()