diff --git a/opengl/java/android/opengl/GLSurfaceView.java b/opengl/java/android/opengl/GLSurfaceView.java index 8acbae32f3e0e..54dcaaa44c1e9 100644 --- a/opengl/java/android/opengl/GLSurfaceView.java +++ b/opengl/java/android/opengl/GLSurfaceView.java @@ -83,7 +83,7 @@ import android.view.SurfaceView; * *
*
- * By default GLSurfaceView chooses a EGLConfig that has an RGB_565 pixel format, + * By default GLSurfaceView chooses a EGLConfig that has an RGB_888 pixel format, * with at least a 16-bit depth buffer and no stencil. *
* If you would prefer a different EGLConfig @@ -414,7 +414,7 @@ public class GLSurfaceView extends SurfaceView implements SurfaceHolder.Callback * is called. *
* If no setEGLConfigChooser method is called, then by default the - * view will choose an RGB_565 surface with a depth buffer depth of + * view will choose an RGB_888 surface with a depth buffer depth of * at least 16 bits. * * @param needDepth @@ -432,7 +432,7 @@ public class GLSurfaceView extends SurfaceView implements SurfaceHolder.Callback * is called. *
* If no setEGLConfigChooser method is called, then by default the - * view will choose an RGB_565 surface with a depth buffer depth of + * view will choose an RGB_888 surface with a depth buffer depth of * at least 16 bits. * */ @@ -968,13 +968,13 @@ public class GLSurfaceView extends SurfaceView implements SurfaceHolder.Callback } /** - * This class will choose a RGB_565 surface with + * This class will choose a RGB_888 surface with * or without a depth buffer. * */ private class SimpleEGLConfigChooser extends ComponentSizeChooser { public SimpleEGLConfigChooser(boolean withDepthBuffer) { - super(5, 6, 5, 0, withDepthBuffer ? 16 : 0, 0); + super(8, 8, 8, 0, withDepthBuffer ? 16 : 0, 0); } }