com.jogamp.opengl.impl.macosx.cgl
Class MacOSXPbufferCGLContext
java.lang.Object
javax.media.opengl.GLContext
com.jogamp.opengl.impl.GLContextImpl
com.jogamp.opengl.impl.macosx.cgl.MacOSXCGLContext
com.jogamp.opengl.impl.macosx.cgl.MacOSXPbufferCGLContext
- Direct Known Subclasses:
- MacOSXOffscreenCGLContext
public class MacOSXPbufferCGLContext
- extends MacOSXCGLContext
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, GL_VERSIONS, mappedVersionsAvailable, mappedVersionsAvailableLock, mappedVersionsAvailableSet |
Methods inherited from class com.jogamp.opengl.impl.macosx.cgl.MacOSXCGLContext |
copyImpl, create, createContextARBImpl, destroyContextARBImpl, getCGLExt, getCGLExtProcAddressTable, getExtensionNameMap, getFunctionNameMap, getOffscreenContextPixelDataType, getOffscreenContextReadBuffer, getPlatformExtensionsString, getPlatformExtProcAddressTable, getPlatformGLExtensions, glAllocateMemoryNV, isExtensionAvailable, isFunctionAvailable, isNSContext, offscreenImageNeedsVerticalFlip, swapBuffers, updateGLProcAddressTable |
Methods inherited from class com.jogamp.opengl.impl.GLContextImpl |
copy, createContextARB, createGL, destroy, getBufferSizeTracker, getBufferStateTracker, getDrawableImpl, getGL, getGLDrawable, getGLDrawableRead, getGLExtensions, getGLProcAddressTable, getGLStateTracker, getSwapInterval, getThreadName, hasWaiters, isExtensionCacheInitialized, isSynchronized, makeCurrent, makeCurrentLocking, mapToRealGLExtensionName, mapToRealGLFunctionName, release, resetProcAddressTable, setBufferSizeTracker, setContextVersion, setGL, setGLDrawableRead, setGLFunctionAvailability, setSwapInterval, setSynchronized, update |
Methods inherited from class javax.media.opengl.GLContext |
append, compose8bit, composed8BitToString, decrementGLVersion, getAttachedObject, getAttachedObject, getComposed8bit, getCurrent, getCurrentGL, getGLVersion, getGLVersion, getGLVersionAvailable, getGLVersionAvailable, getGLVersionMajor, getGLVersionMinor, getHandle, getMaxMajor, getMaxMinor, hasGLSL, isCreated, isCreatedWithARBMethod, isCurrent, isGL2, isGL2Available, isGL2ES1, isGL2ES2, isGL2GL3, isGL3, isGL3Available, isGL3bc, isGL3bcAvailable, isGL4, isGL4Available, isGL4bc, isGL4bcAvailable, isGLCompatibilityProfile, isGLCoreProfile, isGLEmbeddedProfile, isGLES, isGLES1, isGLES2, isGLForwardCompatible, isGLVersionAvailable, isValidGLVersion, mapVersionAvailable, putAttachedObject, putAttachedObject, setCurrent, toHexString, toHexString, toString, toString |
drawable
protected MacOSXPbufferCGLDrawable drawable
impl
protected com.jogamp.opengl.impl.macosx.cgl.MacOSXPbufferCGLContext.Impl impl
MacOSXPbufferCGLContext
public MacOSXPbufferCGLContext(MacOSXPbufferCGLDrawable drawable,
GLContext shareWith)
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 MacOSXCGLContext
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 MacOSXCGLContext
makeCurrentImpl
protected void makeCurrentImpl(boolean newCreated)
throws GLException
- Overrides:
makeCurrentImpl
in class MacOSXCGLContext
- Throws:
GLException
releaseImpl
protected void releaseImpl()
throws GLException
- Overrides:
releaseImpl
in class MacOSXCGLContext
- Throws:
GLException
destroyImpl
protected void destroyImpl()
throws GLException
- Overrides:
destroyImpl
in class MacOSXCGLContext
- Throws:
GLException
setSwapIntervalImpl
protected void setSwapIntervalImpl(int interval)
- Overrides:
setSwapIntervalImpl
in class MacOSXCGLContext
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
createImpl
protected boolean createImpl()
throws GLException
- Specified by:
createImpl
in class GLContextImpl
- Throws:
GLException
setOpenGLMode
public void setOpenGLMode(int mode)
- Specified by:
setOpenGLMode
in class MacOSXCGLContext
getOpenGLMode
public int getOpenGLMode()
- Specified by:
getOpenGLMode
in class MacOSXCGLContext
Copyright 2010 JogAmp Community.