private void Init() { // Install a SurfaceHolder.Callback so we get notified when the // underlying surface is created and destroyed SurfaceHolder holder = this.Holder; holder.AddCallback(this); holder.SetType(Android.Views.SurfaceType.Gpu); this.RenderMode = RENDERMODE_CONTINUOUSLY; GLSurfaceView.Instance = this; }