March 2013
Intermediate to advanced
346 pages
8h 4m
English
Besides the GLSurfaceView display mechanism we
described in the previous recipe, it is also possible to display OpenGL graphics using EGL.
Readers are recommended to read the Drawing 3D Graphics and Lighting up the Scene with OpenGL ES 1.x API recipe before going through this one.
The following steps describe how to create an Android project that demonstrates the usage of EGL:
EGLDemo. Set the package name as cookbook.chapter4.egl. Please refer to the Loading native libraries and registering native methods recipe in Chapter 2, Java Native Interface, if you want more detailed instructions.EGLDemo, select Android Tools | Add Native ...Read now
Unlock full access