Example #1
0
 private void maybeDoSingleThreadedWorkaround(
     Runnable eventDispatchThreadAction, Runnable invokeGLAction, boolean isReshape) {
   if (Threading.isSingleThreaded() && !Threading.isOpenGLThread()) {
     Threading.invokeOnOpenGLThread(eventDispatchThreadAction);
   } else {
     drawableHelper.invokeGL(pbufferDrawable, context, invokeGLAction, initAction);
   }
 }
Example #2
0
 public boolean getAutoSwapBufferMode() {
   return drawableHelper.getAutoSwapBufferMode();
 }
Example #3
0
 public void invoke(boolean wait, GLRunnable glRunnable) {
   drawableHelper.invoke(this, wait, glRunnable);
 }
Example #4
0
 public void setAutoSwapBufferMode(boolean onOrOff) {
   drawableHelper.setAutoSwapBufferMode(onOrOff);
 }
Example #5
0
 public Thread getAnimator() {
   return drawableHelper.getAnimator();
 }
Example #6
0
 public void setAnimator(Thread animator) {
   drawableHelper.setAnimator(animator);
 }
Example #7
0
 public void removeGLEventListener(GLEventListener listener) {
   drawableHelper.removeGLEventListener(listener);
 }
Example #8
0
 public void addGLEventListener(int index, GLEventListener listener) {
   drawableHelper.addGLEventListener(index, listener);
 }
Example #9
0
 public void addGLEventListener(GLEventListener listener) {
   drawableHelper.addGLEventListener(listener);
 }