com.sun.opengl.impl.x11
Class X11PbufferGLContext

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.X11PbufferGLContext

public class X11PbufferGLContext
extends X11GLContext


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
X11PbufferGLContext(X11PbufferGLDrawable drawable, GLContext shareWith)
           
 
Method Summary
 void bindPbufferToTexture()
          Pbuffer support; given that this is a GLContext associated with a pbuffer, binds this pbuffer to its texture target.
protected  void create()
          Helper routine which usually just turns around and calls createContext (except for pbuffers, which use a different context creation mechanism).
 int getFloatingPointMode()
          Indicates which floating-point pbuffer implementation is in use.
protected  int makeCurrentImpl()
           
protected  void releaseImpl()
           
 void releasePbufferFromTexture()
          Pbuffer support; given that this is a GLContext associated with a pbuffer, releases this pbuffer from its texture target.
 
Methods inherited from class com.sun.opengl.impl.x11.X11GLContext
copy, createContext, destroyImpl, getContext, getGLDrawable, getGLXExt, getGLXExtProcAddressTable, getOffscreenContextPixelDataType, getOffscreenContextReadBuffer, getPlatformExtensionsString, getPlatformGLExtensions, glAllocateMemoryNV, isCreated, isExtensionAvailable, isFunctionAvailable, isOptimizable, lockToolkit, mapToRealGLExtensionName, mapToRealGLFunctionName, offscreenImageNeedsVerticalFlip, resetGLFunctionAvailability, setSwapInterval, unlockToolkit
 
Methods inherited from class com.sun.opengl.impl.GLContextImpl
createGL, destroy, getBufferSizeTracker, getDeletedObjectTracker, 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

X11PbufferGLContext

public X11PbufferGLContext(X11PbufferGLDrawable drawable,
                           GLContext shareWith)
Method Detail

bindPbufferToTexture

public void bindPbufferToTexture()
Description copied from class: GLContextImpl
Pbuffer support; given that this is a GLContext associated with a pbuffer, binds this pbuffer to its texture target.

Overrides:
bindPbufferToTexture in class X11GLContext

releasePbufferFromTexture

public void releasePbufferFromTexture()
Description copied from class: GLContextImpl
Pbuffer support; given that this is a GLContext associated with a pbuffer, releases this pbuffer from its texture target.

Overrides:
releasePbufferFromTexture in class X11GLContext

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

getFloatingPointMode

public int getFloatingPointMode()
Description copied from class: GLContextImpl
Indicates which floating-point pbuffer implementation is in use. Returns one of GLPbuffer.APPLE_FLOAT, GLPbuffer.ATI_FLOAT, or GLPbuffer.NV_FLOAT.

Overrides:
getFloatingPointMode in class GLContextImpl

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.