Package com.kakao.vectormap.graphics.gl
Class EglContextFactory
- java.lang.Object
-
- com.kakao.vectormap.graphics.gl.EglContextFactory
-
- All Implemented Interfaces:
GLSurfaceView.EGLContextFactory
public class EglContextFactory extends java.lang.Object implements GLSurfaceView.EGLContextFactory
-
-
Constructor Summary
Constructors Constructor Description EglContextFactory(int eglContextClientVersion, IEglLifeCycleCallback eglContextCallback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EGLContext
createContext(EGL10 egl, EGLDisplay display, EGLConfig config)
void
destroyContext(EGL10 egl, EGLDisplay display, EGLContext context)
-
-
-
Constructor Detail
-
EglContextFactory
public EglContextFactory(int eglContextClientVersion, IEglLifeCycleCallback eglContextCallback)
-
-
Method Detail
-
createContext
public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config)
- Specified by:
createContext
in interfaceGLSurfaceView.EGLContextFactory
-
destroyContext
public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context)
- Specified by:
destroyContext
in interfaceGLSurfaceView.EGLContextFactory
-
-