
308 8. Mobile 3D: OpenGLES
No special permissions are required to draw on the display and a default
manifest file covers all necessary application settings.
For an activity to make use of OpenGL the additional API imports req u ir ed
are:
import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.opengles.GL10;
import android.opengl.GLSurfaceView;
Setting up the activity to use the programmable shader pipeline, available
in GLES ver s ion 2 or later, is not that different from setting up for a GLES
version 1.x output.
1
A few method changes are required, but perhaps the most
significant addition is the need to compile, link and install ...