Code example for GLSurfaceView

Methods: requestRender

0
 
	private Runnable GLdraw = new Runnable() {
 
		@Override 
		public synchronized void run() { 
			glView.requestRender(); 
			handler.postDelayed(GLdraw,20); 
		} 
	}; 
 
	private Runnable DrawStop = new Runnable() {
 
		@Override 
		public void run() { 
			handler.removeCallbacks(GLdraw); 
		} 
	}; 
 
	@Override 
	public void responceCallBack(int responceCode,float... event) {
		//短いタッチで描画のONOFF