com.jogamp.opengl.impl.macosx.cgl
Class MacOSXOffscreenCGLDrawable
java.lang.Object
com.jogamp.opengl.impl.GLDrawableImpl
com.jogamp.opengl.impl.macosx.cgl.MacOSXCGLDrawable
com.jogamp.opengl.impl.macosx.cgl.MacOSXPbufferCGLDrawable
com.jogamp.opengl.impl.macosx.cgl.MacOSXOffscreenCGLDrawable
- All Implemented Interfaces:
- GLDrawable
public class MacOSXOffscreenCGLDrawable
- extends MacOSXPbufferCGLDrawable
Method Summary |
GLContext |
createContext(GLContext shareWith)
Creates a new context for drawing to this drawable that will
optionally share display lists and other server-side OpenGL
objects with the specified GLContext. |
Methods inherited from class com.jogamp.opengl.impl.GLDrawableImpl |
destroy, destroyHandle, getChosenGLCapabilities, getFactory, getFactoryImpl, getGLProfile, getHeight, getNativeSurface, getRequestedGLCapabilities, getWidth, isRealized, isSurfaceLocked, lockSurface, setRealized, swapBuffers, toHexString, toString, unlockSurface, updateHandle |
MacOSXOffscreenCGLDrawable
public MacOSXOffscreenCGLDrawable(GLDrawableFactory factory,
NativeSurface target)
createContext
public GLContext createContext(GLContext shareWith)
- Description copied from interface:
GLDrawable
- Creates a new context for drawing to this drawable that will
optionally share display lists and other server-side OpenGL
objects with the specified GLContext.
The GLContext share
need not be associated with this
GLDrawable and may be null if sharing of display lists and other
objects is not desired. See the note in the overview
documentation on
context sharing.
- Specified by:
createContext
in interface GLDrawable
- Overrides:
createContext
in class MacOSXPbufferCGLDrawable
Copyright 2010 JogAmp Community.