public class X11ExternalGLContext extends X11GLContext
context, drawable, mostRecentDisplay
DEBUG, functionAvailability, gl, lock, NO_FREE, optimizationEnabled, VERBOSE
CONTEXT_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, unlockToolkit
createGL, destroy, getBufferSizeTracker, getDeletedObjectTracker, getFloatingPointMode, getGL, getGLProcAddressTable, getObjectTracker, getThreadName, hasWaiters, isSynchronized, resetProcAddressTable, setBufferSizeTracker, setDeletedObjectTracker, setGL, setObjectTracker, setSynchronized, toHexString, update
getCurrent, setCurrent
protected void create()
X11GLContext
X11GLContext.makeCurrentImpl()
.create
in class X11GLContext
public int makeCurrent() throws GLException
GLContext
makeCurrent
in class GLContextImpl
GLException
- 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
GLContext
release
in class GLContextImpl
GLException
- if the context had not previously been made
current on the current threadprotected int makeCurrentImpl() throws GLException
makeCurrentImpl
in class X11GLContext
GLException
protected void releaseImpl() throws GLException
releaseImpl
in class X11GLContext
GLException
protected void destroyImpl() throws GLException
destroyImpl
in class X11GLContext
GLException
public boolean isCreated()
GLContextImpl
isCreated
in class X11GLContext
Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.