set EGLConfig Chooser
Installs a custom EGLConfigChooser. If this method is called, it must be called before setRenderer is called.
If no setEGLConfigChooser method is called, then by default the view will choose an EGLConfig that is compatible with the current android.view.Surface, with a depth buffer of at least 16 bits.
Installs a config chooser which will choose a config as close to 16-bit RGB as possible, with or without an optional depth buffer as close to 16-bits as possible.
If this method is called, it must be called before setRenderer is called.
If no setEGLConfigChooser method is called, then by default the view will choose an RGB_888 surface with a depth buffer of at least 16 bits.
Installs a config chooser which will choose a config with at least the specified depthSize and stencilSize, and exactly the specified redSize, greenSize, blueSize and alphaSize.
If this method is called, it must be called before setRenderer is called.
If no setEGLConfigChooser method is called, then by default the view will choose an RGB_888 surface with a depth buffer of at least 16 bits.
Parameters
the size of the red component in bits.
the size of the green component in bits.
the size of the blue component in bits.
the size of the alpha component in bits.
the size of the depth buffer in bits.
the size of the stencil buffer in bits.