public void queueEvent(Runnable r){
synchronized (this) {
    mEventQueue.add(r);
synchronized (sGLThreadManager) {
      mEventsWaiting=true;
      sGLThreadManager.notifyAll();
    }
  }
}

public void queueEvent ( Runnable r ) { synchronized ( this ) { mEventQueue . add ( r ) ; synchronized ( sGLThreadManager ) { mEventsWaiting = true ; sGLThreadManager . notifyAll ( ) ; } } }
queue an " event " to be run on the gl rendering thread .
