| Modifier and Type | Method and Description |
|---|---|
| public void | invokeOnOpenGLThread(boolean wait, Runnable r)
Executes the passed Runnable on the single thread used for all OpenGL work in this com.jogamp.opengl API implementation. |
| public boolean | isOpenGLThread()
Indicates whether the current thread is the thread on which this implementation of the com.jogamp.opengl APIs performs all of its OpenGL-related work. |
| public boolean | isToolkitThread()
Indicates whether the current thread is the designated toolkit thread, if such semantics exists. |
| invokeOnOpenGLThread | back to summary |
|---|---|
| public void invokeOnOpenGLThread(boolean wait, Runnable r) throws GLException Executes the passed Runnable on the single thread used for all
OpenGL work in this com.jogamp.opengl API implementation. It is
not specified exactly which thread is used for this
purpose. This method should only be called if the single-thread
model is in use and if the current thread is not the OpenGL
thread (i.e., if | |
| isOpenGLThread | back to summary |
|---|---|
| public boolean isOpenGLThread() throws GLException Indicates whether the current thread is the thread on which this implementation of the com.jogamp.opengl APIs performs all of its OpenGL-related work. This method should only be called if the single-thread model is in effect. | |
| isToolkitThread | back to summary |
|---|---|
| public boolean isToolkitThread() throws GLException Indicates whether the current thread is the designated toolkit thread, if such semantics exists. | |