-
- All Implemented Interfaces:
-
android.opengl.GLSurfaceView.EGLConfigChooser
public class GdxEglConfigChooser implements GLSurfaceView.EGLConfigChooser
EGLConfigChooser implementation for GLES 1.x and 2.0. Let's hope this really works for all devices. Includes MSAA/CSAA config selection if requested. Taken from GLSurfaceView20, heavily modified to accommodate MSAA/CSAA.
-
-
Field Summary
Fields Modifier and Type Field Description public final static intEGL_COVERAGE_BUFFERS_NVpublic final static intEGL_COVERAGE_SAMPLES_NV
-
Constructor Summary
Constructors Constructor Description GdxEglConfigChooser(int r, int g, int b, int a, int depth, int stencil, int numSamples)
-
Method Summary
Modifier and Type Method Description EGLConfigchooseConfig(EGL10 egl, EGLDisplay display)EGLConfigchooseConfig(EGL10 egl, EGLDisplay display, Array<EGLConfig> configs)-
-
Method Detail
-
chooseConfig
EGLConfig chooseConfig(EGL10 egl, EGLDisplay display)
-
chooseConfig
EGLConfig chooseConfig(EGL10 egl, EGLDisplay display, Array<EGLConfig> configs)
-
-
-
-