FileDocCategorySizeDatePackage
TestView.javaAPI DocAndroid 5.1 API8676Thu Mar 12 22:22:48 GMT 2015com.android.test

TestView

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

Fields Summary
Constructors Summary
TestView(android.content.Context context)

        super(context);
        init();
    
public TestView(android.content.Context context, android.util.AttributeSet attrs)

        super(context, attrs);
        init();
    
Methods Summary
private voidinit()

        setRenderer(new Renderer());
        setRenderMode(RENDERMODE_WHEN_DIRTY);