Lines Matching defs:thread

51  * <li>Renders on a dedicated thread to decouple rendering performance from the
52 * UI thread.
118 * pause and resume the rendering thread, and also allow GLSurfaceView to release and recreate
126 * that's running in the rendering thread. You can do this using any
127 * standard Java cross-thread communication mechanism. In addition,
145 * // thread:
270 * Set the renderer associated with this view. Also starts the thread that
446 * from any thread. Must not be called before a renderer has been set.
460 * from any thread. Must not be called before a renderer has been set.
494 * pause the rendering thread.
505 * thread.
513 * Queue a runnable to be run on the GL rendering thread. This can be used
514 * to communicate with the Renderer on the rendering thread.
516 * @param r the runnable to be run on the GL rendering thread.
575 * The renderer will be called on a separate thread, so that rendering
576 * performance is decoupled from the UI thread. Clients typically need to
577 * communicate with the renderer from the UI thread, because that's where
579 * standard Java techniques for cross-thread communication, or they can
598 * Called when the rendering thread
1286 // By design, this is the only place in a GLThread thread where we wait().
1422 Log.i("Main thread", "onPause waiting for mPaused.");
1444 Log.i("Main thread", "onResume waiting for !mPaused.");
1464 // Wait for thread to react to resize and render a frame
1467 Log.i("Main thread", "onWindowResize waiting for render complete.");
1479 // don't call this from GLThread thread or it is a guaranteed
1495 * Queue an "event" to be run on the GL rendering thread.
1496 * @param r the runnable to be run on the GL rendering thread.
1508 // Once the thread is started, all accesses to the following member
1574 public synchronized void threadExiting(GLThread thread) {
1576 Log.i("GLThread", "exiting tid=" + thread.getId());
1578 thread.mExited = true;
1579 if (mEglOwner == thread) {
1592 public boolean tryAcquireEglContextLocked(GLThread thread) {
1593 if (mEglOwner == thread || mEglOwner == null) {
1594 mEglOwner = thread;
1609 public void releaseEglContextLocked(GLThread thread) {
1610 if (mEglOwner == thread) {