com.jogamp.opengl.impl.x11.glx
Class X11OffscreenGLXDrawable
java.lang.Object
com.jogamp.opengl.impl.GLDrawableImpl
com.jogamp.opengl.impl.x11.glx.X11GLXDrawable
com.jogamp.opengl.impl.x11.glx.X11OffscreenGLXDrawable
- All Implemented Interfaces:
- GLDrawable
public class X11OffscreenGLXDrawable
- extends X11GLXDrawable
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. |
void |
destroy()
For offscreen GLDrawables (pbuffers and "pixmap" drawables),
indicates that native resources should be reclaimed. |
protected void |
setRealizedImpl()
|
protected void |
swapBuffersImpl()
|
Methods inherited from class com.jogamp.opengl.impl.GLDrawableImpl |
destroyHandle, getChosenGLCapabilities, getFactory, getFactoryImpl, getGLProfile, getHandle, getHeight, getNativeWindow, getRequestedGLCapabilities, getWidth, isRealized, isSurfaceLocked, lockSurface, setRealized, swapBuffers, toHexString, toString, unlockSurface, updateHandle |
X11OffscreenGLXDrawable
protected X11OffscreenGLXDrawable(GLDrawableFactory factory,
NativeWindow target)
setRealizedImpl
protected void setRealizedImpl()
- Overrides:
setRealizedImpl
in class X11GLXDrawable
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.
destroy
public void destroy()
- Description copied from class:
GLDrawableImpl
- For offscreen GLDrawables (pbuffers and "pixmap" drawables),
indicates that native resources should be reclaimed.
- Overrides:
destroy
in class GLDrawableImpl
swapBuffersImpl
protected void swapBuffersImpl()
- Overrides:
swapBuffersImpl
in class X11GLXDrawable
Copyright 2010 JogAmp Community.