Package gov.nasa.worldwindx.examples
Class DebuggingGLErrors.MyGLAutoDrawable
- java.lang.Object
-
- gov.nasa.worldwind.avlist.AVListImpl
-
- gov.nasa.worldwind.WWObjectImpl
-
- gov.nasa.worldwind.WorldWindowImpl
-
- gov.nasa.worldwind.WorldWindowGLAutoDrawable
-
- gov.nasa.worldwindx.examples.DebuggingGLErrors.MyGLAutoDrawable
-
- All Implemented Interfaces:
com.jogamp.opengl.GLEventListener
,AVList
,MessageListener
,WorldWindow
,WorldWindowGLDrawable
,WWObject
,java.beans.PropertyChangeListener
,java.util.EventListener
- Enclosing class:
- DebuggingGLErrors
public static class DebuggingGLErrors.MyGLAutoDrawable extends WorldWindowGLAutoDrawable
Subclass ofWorldWindowGLAutoDrawable
which overrides the methodWorldWindowGLAutoDrawable.init(com.jogamp.opengl.GLAutoDrawable)
to configure the OpenGL error logger.
-
-
Field Summary
-
Fields inherited from class gov.nasa.worldwind.WorldWindowGLAutoDrawable
DEFAULT_VIEW_STOP_TIME, enableGpuCacheReinitialization, lastViewID, viewRefreshTask, viewStopTime
-
Fields inherited from class gov.nasa.worldwind.WorldWindowImpl
gpuResourceCache
-
-
Constructor Summary
Constructors Constructor Description MyGLAutoDrawable()
Constructs a new MyGLAutoDrawable, but otherwise does nothing.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init(com.jogamp.opengl.GLAutoDrawable glAutoDrawable)
Overridden to configure the OpenGL features used by the WorldWind SDK.-
Methods inherited from class gov.nasa.worldwind.WorldWindowGLAutoDrawable
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
-
Methods inherited from class gov.nasa.worldwind.WorldWindowImpl
addPositionListener, addRenderingExceptionListener, addRenderingListener, addSelectListener, callPositionListeners, callRenderingExceptionListeners, callRenderingListeners, callSelectListeners, configureIdentityPixelScale, createGpuResourceCache, getCurrentBoxSelection, getCurrentPosition, getCurrentSelection, getGpuResourceCache, getInputHandler, getModel, getObjectsAtCurrentPosition, getObjectsInSelectionBox, getPerFrameStatistics, getSceneController, getView, removePositionListener, removeRenderingExceptionListener, removeRenderingListener, removeSelectListener, setGpuResourceCache, setInputHandler, setModel, setModelAndView, setPerFrameStatisticsKeys, setSceneController, setView
-
Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl
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
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface gov.nasa.worldwind.avlist.AVList
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
-
Methods inherited from interface gov.nasa.worldwind.WorldWindow
addPositionListener, addRenderingExceptionListener, addRenderingListener, addSelectListener, getCurrentPosition, getGpuResourceCache, getInputHandler, getModel, getObjectsAtCurrentPosition, getObjectsInSelectionBox, getPerFrameStatistics, getSceneController, getView, removePositionListener, removeRenderingExceptionListener, removeRenderingListener, removeSelectListener, setInputHandler, setModel, setModelAndView, setPerFrameStatisticsKeys, setSceneController, setView
-
-
-
-
Method Detail
-
init
public void init(com.jogamp.opengl.GLAutoDrawable glAutoDrawable)
Overridden to configure the OpenGL features used by the WorldWind SDK. SeeGLEventListener.init(com.jogamp.opengl.GLAutoDrawable)
.- Specified by:
init
in interfacecom.jogamp.opengl.GLEventListener
- Overrides:
init
in classWorldWindowGLAutoDrawable
- Parameters:
glAutoDrawable
- the drawable
-
-