public class X11ExternalGLContext extends X11GLContext
context, drawable, mostRecentDisplayDEBUG, functionAvailability, gl, lock, NO_FREE, optimizationEnabled, VERBOSECONTEXT_CURRENT, CONTEXT_CURRENT_NEW, CONTEXT_NOT_CURRENT| Constructor and Description |
|---|
X11ExternalGLContext() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
create()
Helper routine which usually just turns around and calls
createContext (except for pbuffers, which use a different context
creation mechanism).
|
protected void |
destroyImpl() |
boolean |
isCreated()
Indicates whether the underlying OpenGL context has been
created.
|
int |
makeCurrent()
Makes this GLContext current on the calling thread.
|
protected int |
makeCurrentImpl() |
void |
release()
Releases control of this GLContext from the current thread.
|
protected void |
releaseImpl() |
bindPbufferToTexture, copy, createContext, getContext, getGLDrawable, getGLXExt, getGLXExtProcAddressTable, getOffscreenContextPixelDataType, getOffscreenContextReadBuffer, getPlatformExtensionsString, getPlatformGLExtensions, glAllocateMemoryNV, isExtensionAvailable, isFunctionAvailable, isOptimizable, lockToolkit, mapToRealGLExtensionName, mapToRealGLFunctionName, offscreenImageNeedsVerticalFlip, releasePbufferFromTexture, resetGLFunctionAvailability, setSwapInterval, unlockToolkitcreateGL, destroy, getBufferSizeTracker, getDeletedObjectTracker, getFloatingPointMode, getGL, getGLProcAddressTable, getObjectTracker, getThreadName, hasWaiters, isSynchronized, resetProcAddressTable, setBufferSizeTracker, setDeletedObjectTracker, setGL, setObjectTracker, setSynchronized, toHexString, updategetCurrent, setCurrentprotected void create()
X11GLContextX11GLContext.makeCurrentImpl().create in class X11GLContextpublic int makeCurrent()
throws GLException
GLContextmakeCurrent in class GLContextImplGLException - if synchronization is disabled and the
context is current on another thread, or because the context
could not be created or made current due to non-recoverable,
window system-specific errors.public void release()
throws GLException
GLContextrelease in class GLContextImplGLException - if the context had not previously been made
current on the current threadprotected int makeCurrentImpl()
throws GLException
makeCurrentImpl in class X11GLContextGLExceptionprotected void releaseImpl()
throws GLException
releaseImpl in class X11GLContextGLExceptionprotected void destroyImpl()
throws GLException
destroyImpl in class X11GLContextGLExceptionpublic boolean isCreated()
GLContextImplisCreated in class X11GLContextCopyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.