com.sun.opengl.impl.x11
Class X11OnscreenGLContext

java.lang.Object
  extended by javax.media.opengl.GLContext
      extended by com.sun.opengl.impl.GLContextImpl
          extended by com.sun.opengl.impl.x11.X11GLContext
              extended by com.sun.opengl.impl.x11.X11OnscreenGLContext

public class X11OnscreenGLContext
extends X11GLContext


Field Summary
protected  X11OnscreenGLDrawable drawable
           
protected  boolean isIndirect
           
 
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
X11OnscreenGLContext(X11OnscreenGLDrawable 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).
 boolean isOptimizable()
           
protected  int makeCurrentImpl()
           
protected  void releaseImpl()
           
 
Methods inherited from class com.sun.opengl.impl.x11.X11GLContext
bindPbufferToTexture, copy, createContext, destroyImpl, getContext, getGLDrawable, getGLXExt, getGLXExtProcAddressTable, getOffscreenContextPixelDataType, getOffscreenContextReadBuffer, getPlatformExtensionsString, getPlatformGLExtensions, glAllocateMemoryNV, isCreated, isExtensionAvailable, isFunctionAvailable, lockToolkit, mapToRealGLExtensionName, mapToRealGLFunctionName, offscreenImageNeedsVerticalFlip, releasePbufferFromTexture, resetGLFunctionAvailability, setSwapInterval, unlockToolkit
 
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
 

Field Detail

drawable

protected X11OnscreenGLDrawable drawable

isIndirect

protected boolean isIndirect
Constructor Detail

X11OnscreenGLContext

public X11OnscreenGLContext(X11OnscreenGLDrawable drawable,
                            GLContext shareWith)
Method Detail

makeCurrentImpl

protected int makeCurrentImpl()
                       throws GLException
Overrides:
makeCurrentImpl in class X11GLContext
Throws:
GLException

releaseImpl

protected void releaseImpl()
                    throws GLException
Overrides:
releaseImpl in class X11GLContext
Throws:
GLException

isOptimizable

public boolean isOptimizable()
Overrides:
isOptimizable in class X11GLContext

create

protected void create()
Description copied from class: X11GLContext
Helper routine which usually just turns around and calls createContext (except for pbuffers, which use a different context creation mechanism). Should only be called by X11GLContext.makeCurrentImpl().

Specified by:
create in class X11GLContext


Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.