com.jogamp.opengl.impl.x11.glx
Class X11OffscreenGLXContext

java.lang.Object
  extended by javax.media.opengl.GLContext
      extended by com.jogamp.opengl.impl.GLContextImpl
          extended by com.jogamp.opengl.impl.x11.glx.X11GLXContext
              extended by com.jogamp.opengl.impl.x11.glx.X11OffscreenGLXContext

public class X11OffscreenGLXContext
extends X11GLXContext


Field Summary
 
Fields inherited from class com.jogamp.opengl.impl.x11.glx.X11GLXContext
isDirect, TRACE_CONTEXT_CURRENT
 
Fields inherited from class com.jogamp.opengl.impl.GLContextImpl
contextFQN, currentSwapInterval, DEBUG, drawable, drawableRead, extensionAvailability, gl, hasNativeES2Methods, lock, mappedContextTypeObjectLock, mappedExtensionAvailabilityCache, mappedGLProcAddress, mappedGLXProcAddress
 
Fields inherited from class javax.media.opengl.GLContext
CONTEXT_CURRENT, CONTEXT_CURRENT_NEW, CONTEXT_NOT_CURRENT, contextHandle, CTX_IS_ARB_CREATED, CTX_OPTION_ANY, CTX_OPTION_DEBUG, CTX_OPTION_FORWARD, CTX_PROFILE_COMPAT, CTX_PROFILE_CORE, CTX_PROFILE_ES, ctxMajorVersion, ctxMinorVersion, ctxOptions, ctxVersionString, DEBUG0, deviceVersionAvailable, GL_VERSIONS
 
Constructor Summary
X11OffscreenGLXContext(X11OffscreenGLXDrawable drawable, GLContext shareWith)
           
 
Method Summary
 int getOffscreenContextPixelDataType()
          Only called for offscreen contexts; needed by glReadPixels
 int getOffscreenContextReadBuffer()
           
 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.jogamp.opengl.impl.x11.glx.X11GLXContext
bindPbufferToTexture, copyImpl, createContextARBImpl, createImpl, destroyContextARBImpl, destroyImpl, getExtensionNameMap, getFunctionNameMap, getGLXExt, getGLXExtProcAddressTable, getPlatformExtensionsString, getPlatformExtProcAddressTable, getPlatformGLExtensions, glAllocateMemoryNV, isExtensionAvailable, isGLReadDrawableAvailable, makeCurrentImpl, releaseImpl, releasePbufferFromTexture, resetState, setSwapIntervalImpl, toString, updateGLXProcAddressTable
 
Methods inherited from class com.jogamp.opengl.impl.GLContextImpl
copy, createContextARB, createGL, destroy, getBufferSizeTracker, getBufferStateTracker, getDrawableImpl, getFloatingPointMode, getGL, getGLDrawable, getGLExtensionsString, getGLProcAddressTable, getGLReadDrawable, getGLStateTracker, getSwapInterval, hasNativeES2Methods, hasWaiters, isExtensionCacheInitialized, isFunctionAvailable, isSynchronized, makeCurrent, makeCurrentLocking, mapToRealGLExtensionName, mapToRealGLFunctionName, release, resetProcAddressTable, resetStates, setBufferSizeTracker, setGL, setGLFunctionAvailability, setGLReadDrawable, setSwapInterval, setSynchronized, update
 
Methods inherited from class javax.media.opengl.GLContext
append, compose8bit, composed8BitToString, decrementGLVersion, getAttachedObject, getAttachedObject, getAvailableGLVersion, getAvailableGLVersion, getAvailableGLVersionAsString, getAvailableGLVersionsSet, getComposed8bit, getContextFQN, getCurrent, getCurrentGL, getDeviceVersionAvailableKey, getGLVersion, getGLVersion, getGLVersionMajor, getGLVersionMinor, getHandle, getMaxMajor, getMaxMinor, getThreadName, hasGLSL, isCreated, isCreatedWithARBMethod, isCurrent, isGL2, isGL2Available, isGL2ES1, isGL2ES2, isGL2GL3, isGL3, isGL3Available, isGL3bc, isGL3bcAvailable, isGL4, isGL4Available, isGL4bc, isGL4bcAvailable, isGLCompatibilityProfile, isGLCoreProfile, isGLEmbeddedProfile, isGLES, isGLES1, isGLES1Available, isGLES2, isGLES2Available, isGLForwardCompatible, isGLVersionAvailable, isValidGLVersion, mapAvailableGLVersion, putAttachedObject, putAttachedObject, setAvailableGLVersionsSet, setCurrent, toHexString, toHexString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

X11OffscreenGLXContext

public X11OffscreenGLXContext(X11OffscreenGLXDrawable drawable,
                              GLContext shareWith)
Method Detail

getOffscreenContextPixelDataType

public int getOffscreenContextPixelDataType()
Description copied from class: GLContextImpl
Only called for offscreen contexts; needed by glReadPixels

Overrides:
getOffscreenContextPixelDataType in class X11GLXContext

getOffscreenContextReadBuffer

public int getOffscreenContextReadBuffer()
Overrides:
getOffscreenContextReadBuffer in class X11GLXContext

offscreenImageNeedsVerticalFlip

public boolean offscreenImageNeedsVerticalFlip()
Description copied from class: GLContextImpl
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.

Overrides:
offscreenImageNeedsVerticalFlip in class X11GLXContext


Copyright 2010 JogAmp Community.