Code example for GLSurfaceView

Methods: setEGLConfigChoosersetRenderModesetRenderer

0
    	_renderer.setSence(_sence);
    	 
    	//this.requestWindowFeature(Window.FEATURE_NO_TITLE); 
        //getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); 
         
        _sv = new GLSurfaceView(this);
        _sv.setEGLConfigChooser(false);
        if(_renderer instanceof AbstractRendererFor10)
        { 
        	_sv.setRenderer((AbstractRendererFor10)_renderer);
        } 
        else 
        { 
        	_sv.setRenderer((AbstractRendererFor20)_renderer);
        } 
        _sv.setRenderMode(GLSurfaceView.RENDERMODE_CONTINUOUSLY);
        setContentView(_sv);
    } 
} 
Contextual code suggestions in your IDE  Get Codota for Java