public interface GLOffscreenAutoDrawable extends GLAutoDrawable, GLSharedContextSetter
GLAutoDrawable
specialization,
exposing offscreen functionality.
This class distinguishes itself from GLAutoDrawable
with it's setSurfaceSize(int, int)
functionality.
OpenGL Context Sharing
To share a GLContext
see the following note in the documentation overview:
context sharing
as well as GLSharedContextSetter
.
Modifier and Type | Interface and Description |
---|---|
static interface |
GLOffscreenAutoDrawable.FBO
FBObject based GLOffscreenAutoDrawable specialization |
SCREEN_CHANGE_ACTION_ENABLED
Modifier and Type | Method and Description |
---|---|
void |
setSurfaceSize(int newWidth,
int newHeight)
Resize this
GLAutoDrawable 's surface |
void |
setUpstreamWidget(Object newUpstreamWidget)
Set the upstream UI toolkit object.
|
setSharedAutoDrawable, setSharedContext
addGLEventListener, addGLEventListener, areAllGLEventListenerInitialized, createContext, destroy, display, disposeGLEventListener, flushGLRunnables, getAnimator, getAutoSwapBufferMode, getContext, getContextCreationFlags, getDelegatedDrawable, getExclusiveContextThread, getGL, getGLEventListener, getGLEventListenerCount, getGLEventListenerInitState, getUpstreamLock, getUpstreamWidget, invoke, invoke, isThreadGLCapable, removeGLEventListener, setAnimator, setAutoSwapBufferMode, setContext, setContextCreationFlags, setExclusiveContextThread, setGL, setGLEventListenerInitState
getChosenGLCapabilities, getFactory, getGLProfile, getHandle, getNativeSurface, getRequestedGLCapabilities, getSurfaceHeight, getSurfaceWidth, isGLOriented, isRealized, setRealized, swapBuffers, toString
void setSurfaceSize(int newWidth, int newHeight) throws NativeWindowException, GLException
GLAutoDrawable
's surfacenewWidth
- new width in pixel unitsnewHeight
- new height in pixel unitsNativeWindowException
- in case the surface could no be lockedGLException
- in case of an error during the resize operationvoid setUpstreamWidget(Object newUpstreamWidget)
GLAutoDrawable.getUpstreamWidget()
Copyright 2010 JogAmp Community.