Package com.kakao.vectormap.graphics.gl
Class KGLSurfaceView
- java.lang.Object
-
- SurfaceView
-
- com.kakao.vectormap.graphics.gl.GLSurfaceView
-
- com.kakao.vectormap.graphics.gl.KGLSurfaceView
-
- All Implemented Interfaces:
IMapSurfaceView
public class KGLSurfaceView extends GLSurfaceView implements IMapSurfaceView
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.kakao.vectormap.graphics.gl.GLSurfaceView
GLSurfaceView.BaseConfigChooser, GLSurfaceView.EGLConfigChooser, GLSurfaceView.EGLContextFactory, GLSurfaceView.EGLWindowSurfaceFactory, GLSurfaceView.GLWrapper, GLSurfaceView.Renderer
-
-
Field Summary
-
Fields inherited from class com.kakao.vectormap.graphics.gl.GLSurfaceView
DEBUG_CHECK_GL_ERROR, DEBUG_LOG_GL_CALLS, EXIT_TIMEOUT, RENDERMODE_CONTINUOUSLY, RENDERMODE_WHEN_DIRTY
-
-
Constructor Summary
Constructors Constructor Description KGLSurfaceView(Context context, AttributeSet attrs)
KGLSurfaceView(Context context, MapLifeCycleCallback callback, MapView mapView, MapReadyCallback... callbacks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finish()
java.lang.String
getEngineState()
MapRenderer
getMapRenderer()
SurfaceView
getView()
void
initEngine(boolean glThreadNull)
boolean
isFinishManually()
boolean
onTouchEvent(MotionEvent event)
void
setFinishManually(boolean finishManually)
void
setMapRenderer(MapRenderer renderer)
-
Methods inherited from class com.kakao.vectormap.graphics.gl.GLSurfaceView
doStop, getDebugFlags, getPreserveEGLContextOnPause, getRenderMode, isExitTimeout, onPause, onResume, queueEvent, requestRender, setDebugFlags, setEGLConfigChooser, setEGLConfigChooser, setEGLConfigChooser, setEGLContextClientVersion, setEGLContextFactory, setEGLWindowSurfaceFactory, setGLWrapper, setPreserveEGLContextOnPause, setRenderer, setRenderMode, surfaceChanged, surfaceCreated, surfaceDestroyed, surfaceRedrawNeeded, surfaceRedrawNeededAsync
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.kakao.vectormap.graphics.IMapSurfaceView
requestRender
-
-
-
-
Constructor Detail
-
KGLSurfaceView
public KGLSurfaceView(Context context, MapLifeCycleCallback callback, MapView mapView, MapReadyCallback... callbacks)
-
KGLSurfaceView
public KGLSurfaceView(Context context, AttributeSet attrs)
-
-
Method Detail
-
initEngine
public void initEngine(boolean glThreadNull)
- Specified by:
initEngine
in classGLSurfaceView
-
isFinishManually
public boolean isFinishManually()
- Specified by:
isFinishManually
in interfaceIMapSurfaceView
- Specified by:
isFinishManually
in classGLSurfaceView
-
getView
public SurfaceView getView()
- Specified by:
getView
in interfaceIMapSurfaceView
-
setMapRenderer
public void setMapRenderer(MapRenderer renderer)
- Specified by:
setMapRenderer
in interfaceIMapSurfaceView
-
getMapRenderer
public MapRenderer getMapRenderer()
- Specified by:
getMapRenderer
in interfaceIMapSurfaceView
-
setFinishManually
public void setFinishManually(boolean finishManually)
- Specified by:
setFinishManually
in interfaceIMapSurfaceView
-
finish
public void finish() throws java.lang.RuntimeException
- Specified by:
finish
in interfaceIMapSurfaceView
- Throws:
java.lang.RuntimeException
-
getEngineState
public java.lang.String getEngineState()
- Specified by:
getEngineState
in interfaceIMapSurfaceView
-
onTouchEvent
public boolean onTouchEvent(MotionEvent event)
-
-