Package com.kakao.vectormap.graphics.gl
Class GLSurfaceView.BaseConfigChooser
- java.lang.Object
-
- com.kakao.vectormap.graphics.gl.GLSurfaceView.BaseConfigChooser
-
- All Implemented Interfaces:
GLSurfaceView.EGLConfigChooser
- Direct Known Subclasses:
KConfigChooser
- Enclosing class:
- GLSurfaceView
public abstract static class GLSurfaceView.BaseConfigChooser extends java.lang.Object implements GLSurfaceView.EGLConfigChooser
-
-
Constructor Summary
Constructors Constructor Description BaseConfigChooser(int[] configSpec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EGLConfig
chooseConfig(EGL10 egl, EGLDisplay display)
Choose a configuration from the list.
-
-
-
Method Detail
-
chooseConfig
public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display)
Description copied from interface:GLSurfaceView.EGLConfigChooser
Choose a configuration from the list. Implementors typically implement this method by callingEGL10#eglChooseConfig
and iterating through the results. Please consult the EGL specification available from The Khronos Group to learn how to call eglChooseConfig.- Specified by:
chooseConfig
in interfaceGLSurfaceView.EGLConfigChooser
- Parameters:
egl
- the EGL10 for the current display.display
- the current display.- Returns:
- the chosen configuration.
-
-