GLJNIViewpublic class GLJNIView extends android.opengl.GLSurfaceView An implementation of SurfaceView that uses the dedicated surface for
displaying an OpenGL animation. This allows the animation to run in a
separate thread, without requiring that it be driven by the update mechanism
of the view hierarchy.
The application-specific rendering code is delegated to a GLView.Renderer
instance. |
Methods Summary |
---|
private void | init()
setRenderer(new Renderer());
| public boolean | onKeyDown(int keyCode, android.view.KeyEvent event)
GLJNILib.changeBackground();
return true;
|
|