public static class ConfiguringGLRuntimeCapabilities.MyGLAutoDrawable extends WorldWindowGLAutoDrawable
WorldWindowGLAutoDrawable
which overrides the method WorldWindowGLAutoDrawable.init(javax.media.opengl.GLAutoDrawable)
to configure the OpenGL
features used by the WorldWind SDK.DEFAULT_VIEW_STOP_TIME, enableGpuCacheReinitialization, lastViewID, viewRefreshTask, viewStopTime
gpuResourceCache
Constructor and Description |
---|
MyGLAutoDrawable()
Constructs a new MyGLAutoDrawable, but otherwise does nothing.
|
Modifier and Type | Method and Description |
---|---|
protected void |
configureGLRuntimeCaps()
Configures the OpenGL runtime features used by the WorldWind SDK.
|
void |
init(GLAutoDrawable glAutoDrawable)
Overridden to configure the OpenGL features used by the WorldWind SDK.
|
protected boolean |
isEnableFramebufferObjects()
Returns true if the WorldWind SDK should enable use of OpenGL framebuffer objects (if available), and false
otherwise.
|
checkForViewChange, display, dispose, doDisplay, doShutdown, doSwapBuffers, endInitialization, getContext, getRequiredOglExtensions, getRequiredOglFunctions, getViewStopTime, initDrawable, initGpuResourceCache, initializeCreditsController, isEnableGpuCacheReinitialization, isGLContextCompatible, onMessage, propertyChange, redraw, redrawNow, reinitialize, reshape, scheduleViewStopTask, setEnableGpuCacheReinitialization, setViewStopTime, shutdown
addPositionListener, addRenderingExceptionListener, addRenderingListener, addSelectListener, callPositionListeners, callRenderingExceptionListeners, callRenderingListeners, callSelectListeners, createGpuResourceCache, getCurrentBoxSelection, getCurrentPosition, getCurrentSelection, getGpuResourceCache, getInputHandler, getModel, getObjectsAtCurrentPosition, getObjectsInSelectionBox, getPerFrameStatistics, getSceneController, getView, removePositionListener, removeRenderingExceptionListener, removeRenderingListener, removeSelectListener, setGpuResourceCache, setInputHandler, setModel, setModelAndView, setPerFrameStatisticsKeys, setSceneController, setView
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPositionListener, addRenderingExceptionListener, addRenderingListener, addSelectListener, getCurrentPosition, getGpuResourceCache, getInputHandler, getModel, getObjectsAtCurrentPosition, getObjectsInSelectionBox, getPerFrameStatistics, getSceneController, getView, removePositionListener, removeRenderingExceptionListener, removeRenderingListener, removeSelectListener, setInputHandler, setModel, setModelAndView, setPerFrameStatisticsKeys, setSceneController, setView
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
public MyGLAutoDrawable()
protected void configureGLRuntimeCaps()
public void init(GLAutoDrawable glAutoDrawable)
GLEventListener.init(GLAutoDrawable)
.init
in interface GLEventListener
init
in class WorldWindowGLAutoDrawable
glAutoDrawable
- the drawableprotected boolean isEnableFramebufferObjects()