Your app supports, so that it is only installed on compatible devices.įor more information about texture compression formats, see the If your application uses texture compression, you must also declare which compression formats In order for your application to use the OpenGL ES 2.0 API, you must add the following This lesson explains how to complete a minimal implementation of GLSurfaceView and GLSurfaceView.Renderer in a simpleĪpplication activity. Possible to build up an OpenGL ES view using SurfaceView, but this requires For real, do-it-yourself developers, it is also For a full-screen or near-full screen graphics view, it is a reasonable choice.ĭevelopers who want to incorporate OpenGL ES graphics in a small portion of their layouts should GLSurfaceView is just one way to incorporate OpenGL ES graphics into yourĪpplication. GLSurfaceView.Renderer controls what is drawn within that view. GLSurfaceView is a view container for graphics drawn with OpenGL and
GLSurfaceView and a GLSurfaceView.Renderer. One of the more straight-forward ways to do this is to implement both a In order to draw graphics with OpenGL ES in your Android application, you must create a