|
| static boolean | waitForContextCreated (final GLAutoDrawable autoDrawable, final boolean created, final Runnable waitAction) throws InterruptedException |
| |
| static boolean | waitForSize (final GLDrawable drawable, final int width, final int height, final Runnable waitAction) throws InterruptedException |
| |
| static boolean | waitForRealized (final GLAutoDrawable glad, final boolean realized, final Runnable waitAction) throws InterruptedException |
| |
| static boolean | waitForFocus (final FocusEventCountAdapter gain, final FocusEventCountAdapter lost, final Runnable waitAction) throws InterruptedException |
| |
| static boolean | waitUntilClosed (final boolean willClose, final TestUtil.WindowClosingListener closingListener, final Runnable waitAction) throws InterruptedException |
| | Wait until the window is closing within TIME_OUT. More...
|
| |
Definition at line 36 of file GLTestUtil.java.
◆ waitForContextCreated()
| static boolean com.jogamp.opengl.test.junit.util.GLTestUtil.waitForContextCreated |
( |
final GLAutoDrawable |
autoDrawable, |
|
|
final boolean |
created, |
|
|
final Runnable |
waitAction |
|
) |
| throws InterruptedException |
|
static |
- Parameters
-
| waitAction | if not null, Runnable shall wait TIME_SLICE ms, if appropriate |
- Returns
- True if the GLContext becomes created or not within TIME_OUT
Definition at line 42 of file GLTestUtil.java.
◆ waitForRealized()
| static boolean com.jogamp.opengl.test.junit.util.GLTestUtil.waitForRealized |
( |
final GLAutoDrawable |
glad, |
|
|
final boolean |
realized, |
|
|
final Runnable |
waitAction |
|
) |
| throws InterruptedException |
|
static |
- Parameters
-
| glad | the GLAutoDrawable to wait for |
| realized | true if waiting for component to become realized, otherwise false |
| waitAction | if not null, Runnable shall wait TIME_SLICE ms, if appropriate |
- Returns
- True if the Component becomes realized (not displayable, native invalid) within TIME_OUT
- Exceptions
-
Definition at line 91 of file GLTestUtil.java.
◆ waitForSize()
| static boolean com.jogamp.opengl.test.junit.util.GLTestUtil.waitForSize |
( |
final GLDrawable |
drawable, |
|
|
final int |
width, |
|
|
final int |
height, |
|
|
final Runnable |
waitAction |
|
) |
| throws InterruptedException |
|
static |
- Parameters
-
| waitAction | if not null, Runnable shall wait TIME_SLICE ms, if appropriate |
- Returns
- True if the GLDrawable receives the expected surface size within TIME_OUT
Definition at line 72 of file GLTestUtil.java.
The documentation for this class was generated from the following file: