Esempio n. 1
0
 /**
  * Inform the view that the activity is resumed. The owner of this view must call this method when
  * the activity is resumed. Calling this method will recreate the OpenGL display and resume the
  * rendering thread. Must not be called before a renderer has been set.
  */
 public void play() {
   if (mGLThread != null) {
     mGLThread.onResume();
   } else {
     mGLThread = new GLThread(mThisWeakRef);
     mGLThread.listenFPS = this.listenFps;
     mGLThread.fpsListener = this.fpsListener;
     mGLThread.start();
   }
 }