Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
net.java.games.jogl.impl.GLContext
net.java.games.jogl.impl.x11.X11GLContext
public abstract class X11GLContext
extends GLContext
Field Summary | |
protected long | |
protected long | |
protected long | |
protected static boolean | |
protected long | |
protected long |
Fields inherited from class net.java.games.jogl.impl.GLContext | |
DEBUG , NO_FREE , VERBOSE , autoSwapBuffers , capabilities , chooser , component , deferredDestroy , deferredReshapeAction , deferredSetRealized , functionAvailability , gl , glu , gluProcAddressTable , haveResetGLUProcAddressTable , noAutoRedraw , pendingOffscreenHeight , pendingOffscreenResize , pendingOffscreenWidth , perThreadContextStack , perThreadRenderingContext , perThreadSavedCurrentContext , realized , renderingThread , willSetRenderingThread |
Constructor Summary | |
|
Method Summary | |
protected XVisualInfo | |
protected void |
|
protected abstract void |
|
protected long |
|
protected GL |
|
protected void | |
protected long |
|
protected void |
|
protected long | |
GLProcAddressTable | |
protected JAWT |
|
int | |
int | |
abstract int | |
int | |
String | |
boolean | |
boolean |
|
protected boolean |
|
protected abstract boolean | |
protected void |
|
protected boolean |
|
protected String |
|
protected String |
|
abstract boolean | |
protected void | |
void |
|
abstract void | |
protected void |
protected long context
protected long display
protected long drawable
protected static boolean isLinuxAMD64
protected long mostRecentDisplay
protected long visualID
public X11GLContext(Component component, GLCapabilities capabilities, GLCapabilitiesChooser chooser, GLContext shareWith)
protected void chooseVisualAndCreateContext(boolean onscreen)
protected abstract void create()
Creates and initializes an appropriate OpenGl context. Should only be called bymakeCurrent(Runnable)
.
protected void destroyImpl() throws GLException
- Overrides:
- destroyImpl in interface GLContext
protected long dynamicLookupFunction(String glFuncName)
- Overrides:
- dynamicLookupFunction in interface GLContext
protected long getContext()
public int getOffscreenContextHeight()
- Overrides:
- getOffscreenContextHeight in interface GLContext
public int getOffscreenContextPixelDataType()
- Overrides:
- getOffscreenContextPixelDataType in interface GLContext
public abstract int getOffscreenContextReadBuffer()
- Overrides:
- getOffscreenContextReadBuffer in interface GLContext
public int getOffscreenContextWidth()
- Overrides:
- getOffscreenContextWidth in interface GLContext
public String getPlatformExtensionsString()
- Overrides:
- getPlatformExtensionsString in interface GLContext
public boolean isExtensionAvailable(String glExtensionName)
- Overrides:
- isExtensionAvailable in interface GLContext
protected boolean isFunctionAvailable(String glFunctionName)
- Overrides:
- isFunctionAvailable in interface GLContext
protected void lockAWT()
protected boolean makeCurrent(Runnable initAction) throws GLException
- Overrides:
- makeCurrent in interface GLContext
protected String mapToRealGLExtensionName(String glExtensionName)
- Overrides:
- mapToRealGLExtensionName in interface GLContext
protected String mapToRealGLFunctionName(String glFunctionName)
- Overrides:
- mapToRealGLFunctionName in interface GLContext
public abstract boolean offscreenImageNeedsVerticalFlip()
- Overrides:
- offscreenImageNeedsVerticalFlip in interface GLContext
protected void resetGLFunctionAvailability()
- Overrides:
- resetGLFunctionAvailability in interface GLContext
public void setRenderingThread(Thread currentThreadOrNull, Runnable initAction)
- Overrides:
- setRenderingThread in interface GLContext
public abstract void swapBuffers() throws GLException
- Overrides:
- swapBuffers in interface GLContext
protected void unlockAWT()