TestViewpublic class TestView 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());
setRenderMode(RENDERMODE_WHEN_DIRTY);
|
|