Class GLSurfaceView.BaseConfigChooser

    • 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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BaseConfigChooser

        public BaseConfigChooser​(int[] configSpec)
    • 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 calling EGL10#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 interface GLSurfaceView.EGLConfigChooser
        Parameters:
        egl - the EGL10 for the current display.
        display - the current display.
        Returns:
        the chosen configuration.