Пример #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);
   }
 }
Пример #2
0
 public boolean getAutoSwapBufferMode() {
   return drawableHelper.getAutoSwapBufferMode();
 }
Пример #3
0
 public void invoke(boolean wait, GLRunnable glRunnable) {
   drawableHelper.invoke(this, wait, glRunnable);
 }
Пример #4
0
 public void setAutoSwapBufferMode(boolean onOrOff) {
   drawableHelper.setAutoSwapBufferMode(onOrOff);
 }
Пример #5
0
 public Thread getAnimator() {
   return drawableHelper.getAnimator();
 }
Пример #6
0
 public void setAnimator(Thread animator) {
   drawableHelper.setAnimator(animator);
 }
Пример #7
0
 public void removeGLEventListener(GLEventListener listener) {
   drawableHelper.removeGLEventListener(listener);
 }
Пример #8
0
 public void addGLEventListener(int index, GLEventListener listener) {
   drawableHelper.addGLEventListener(index, listener);
 }
Пример #9
0
 public void addGLEventListener(GLEventListener listener) {
   drawableHelper.addGLEventListener(listener);
 }