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