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 voidfinish()java.lang.StringgetEngineState()MapRenderergetMapRenderer()SurfaceViewgetView()voidinitEngine(boolean glThreadNull)booleanisFinishManually()booleanonTouchEvent(MotionEvent event)voidsetFinishManually(boolean finishManually)voidsetMapRenderer(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:
initEnginein classGLSurfaceView
-
isFinishManually
public boolean isFinishManually()
- Specified by:
isFinishManuallyin interfaceIMapSurfaceView- Specified by:
isFinishManuallyin classGLSurfaceView
-
getView
public SurfaceView getView()
- Specified by:
getViewin interfaceIMapSurfaceView
-
setMapRenderer
public void setMapRenderer(MapRenderer renderer)
- Specified by:
setMapRendererin interfaceIMapSurfaceView
-
getMapRenderer
public MapRenderer getMapRenderer()
- Specified by:
getMapRendererin interfaceIMapSurfaceView
-
setFinishManually
public void setFinishManually(boolean finishManually)
- Specified by:
setFinishManuallyin interfaceIMapSurfaceView
-
finish
public void finish() throws java.lang.RuntimeException- Specified by:
finishin interfaceIMapSurfaceView- Throws:
java.lang.RuntimeException
-
getEngineState
public java.lang.String getEngineState()
- Specified by:
getEngineStatein interfaceIMapSurfaceView
-
onTouchEvent
public boolean onTouchEvent(MotionEvent event)
-
-