|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.media.opengl.GLContext
com.sun.opengl.impl.GLContextImpl
com.sun.opengl.impl.x11.X11GLContext
com.sun.opengl.impl.x11.X11OffscreenGLContext
public class X11OffscreenGLContext
Field Summary |
---|
Fields inherited from class com.sun.opengl.impl.x11.X11GLContext |
---|
context, mostRecentDisplay |
Fields inherited from class com.sun.opengl.impl.GLContextImpl |
---|
DEBUG, functionAvailability, gl, lock, NO_FREE, optimizationEnabled, VERBOSE |
Fields inherited from class javax.media.opengl.GLContext |
---|
CONTEXT_CURRENT, CONTEXT_CURRENT_NEW, CONTEXT_NOT_CURRENT |
Constructor Summary | |
---|---|
X11OffscreenGLContext(X11OffscreenGLDrawable drawable,
GLContext shareWith)
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.sun.opengl.impl.GLContextImpl |
---|
createGL, destroy, getBufferSizeTracker, getDeletedObjectTracker, getFloatingPointMode, getGL, getGLProcAddressTable, getObjectTracker, getThreadName, hasWaiters, isSynchronized, makeCurrent, release, resetProcAddressTable, setBufferSizeTracker, setDeletedObjectTracker, setGL, setObjectTracker, setSynchronized, toHexString, update |
Methods inherited from class javax.media.opengl.GLContext |
---|
getCurrent, setCurrent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public X11OffscreenGLContext(X11OffscreenGLDrawable drawable, GLContext shareWith)
Method Detail |
---|
public int getOffscreenContextPixelDataType()
GLContextImpl
getOffscreenContextPixelDataType
in class X11GLContext
public int getOffscreenContextReadBuffer()
getOffscreenContextReadBuffer
in class X11GLContext
public boolean offscreenImageNeedsVerticalFlip()
GLContextImpl
offscreenImageNeedsVerticalFlip
in class X11GLContext
protected int makeCurrentImpl() throws GLException
makeCurrentImpl
in class X11GLContext
GLException
protected void create()
X11GLContext
X11GLContext.makeCurrentImpl()
.
create
in class X11GLContext
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |