FileDocCategorySizeDatePackage
GL2JavaView.javaAPI DocAndroid 5.1 API6281Thu Mar 12 22:22:48 GMT 2015com.android.gl2java

GL2JavaView

public class GL2JavaView 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.

Fields Summary
private static String
TAG
Constructors Summary
public GL2JavaView(android.content.Context context)


       
        super(context);
        setEGLContextClientVersion(2);
        setRenderer(new Renderer());
    
Methods Summary