History log of /frameworks/native/opengl/tests/gl2_java/src/com/android/gl2java/GL2JavaView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
378112ebed362a85471bd2acb307aa0ddb539d17 19-Nov-2009 Jack Palevich <jackpal@google.com> Extend GLSurfaceView to make it easy to create an OpenGL ES 2.0 context

Provide a new method, GLSurfaceView.setEGLContextClientVersion. Clients
call this method to define which level of OpenGL ES support they want.

This method only affects the default behavior of GLSurfaceView. If clients
have supplied their own EGLContextFactory or EGLConfigChooser then they
are on their own if they want to create an OpenGL ES 2.0 context.

This API is currently hidden.

Update the gl2_java test to use this new API.

Update the gl2_java test's AndroidManifest.xml file to indicate that
it requires OpenGL ES 2.0.
/frameworks/native/opengl/tests/gl2_java/src/com/android/gl2java/GL2JavaView.java
50d0b14689b0ae95ea7b66a8c2f7b955115812dd 19-Nov-2009 Jack Palevich <jackpal@google.com> Add a Java API for OpenGL ES 2.0.

Currently this API is hidden.

Add a test program.
/frameworks/native/opengl/tests/gl2_java/src/com/android/gl2java/GL2JavaView.java