public class X11OffscreenGLContext extends X11GLContext
context, mostRecentDisplayDEBUG, functionAvailability, gl, lock, NO_FREE, optimizationEnabled, VERBOSECONTEXT_CURRENT, CONTEXT_CURRENT_NEW, CONTEXT_NOT_CURRENT| Constructor and Description |
|---|
X11OffscreenGLContext(X11OffscreenGLDrawable drawable,
GLContext shareWith) |
| 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).
|
int |
getOffscreenContextPixelDataType()
Only called for offscreen contexts; needed by glReadPixels
|
int |
getOffscreenContextReadBuffer() |
protected int |
makeCurrentImpl() |
boolean |
offscreenImageNeedsVerticalFlip()
On some platforms the mismatch between OpenGL's coordinate
system (origin at bottom left) and the window system's
coordinate system (origin at top left) necessitates a vertical
flip of pixels read from offscreen contexts.
|
bindPbufferToTexture, copy, createContext, destroyImpl, getContext, getGLDrawable, getGLXExt, getGLXExtProcAddressTable, getPlatformExtensionsString, getPlatformGLExtensions, glAllocateMemoryNV, isCreated, isExtensionAvailable, isFunctionAvailable, isOptimizable, lockToolkit, mapToRealGLExtensionName, mapToRealGLFunctionName, releaseImpl, releasePbufferFromTexture, resetGLFunctionAvailability, setSwapInterval, unlockToolkitcreateGL, destroy, getBufferSizeTracker, getDeletedObjectTracker, getFloatingPointMode, getGL, getGLProcAddressTable, getObjectTracker, getThreadName, hasWaiters, isSynchronized, makeCurrent, release, resetProcAddressTable, setBufferSizeTracker, setDeletedObjectTracker, setGL, setObjectTracker, setSynchronized, toHexString, updategetCurrent, setCurrentpublic X11OffscreenGLContext(X11OffscreenGLDrawable drawable, GLContext shareWith)
public int getOffscreenContextPixelDataType()
GLContextImplgetOffscreenContextPixelDataType in class X11GLContextpublic int getOffscreenContextReadBuffer()
getOffscreenContextReadBuffer in class X11GLContextpublic boolean offscreenImageNeedsVerticalFlip()
GLContextImploffscreenImageNeedsVerticalFlip in class X11GLContextprotected int makeCurrentImpl()
throws GLException
makeCurrentImpl in class X11GLContextGLExceptionprotected void create()
X11GLContextX11GLContext.makeCurrentImpl().create in class X11GLContextCopyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.