summaryrefslogtreecommitdiffstats
path: root/opengl/java/com/google
diff options
context:
space:
mode:
authorJack Palevich <jackpal@google.com>2009-11-19 19:08:52 +0800
committerJack Palevich <jackpal@google.com>2009-12-09 16:34:34 +0800
commit0dce2dd26699e4dbfba8b8c5ea01f7fd03369e02 (patch)
tree248e09a9cd55f92b9b97110850320af9ed6566aa /opengl/java/com/google
parent3608891b83af9fbd1af9b9a411f2a90e52353ff8 (diff)
downloadframeworks_base-0dce2dd26699e4dbfba8b8c5ea01f7fd03369e02.zip
frameworks_base-0dce2dd26699e4dbfba8b8c5ea01f7fd03369e02.tar.gz
frameworks_base-0dce2dd26699e4dbfba8b8c5ea01f7fd03369e02.tar.bz2
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.
Diffstat (limited to 'opengl/java/com/google')
0 files changed, 0 insertions, 0 deletions