|
JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java (public API).
|
Concurrent initialization and lock-free rendering using shared NEWT Display EDT instances. More...
Public Member Functions | |
| void | test02TwoThreads () throws InterruptedException |
| void | test04FourThreads () throws InterruptedException |
| void | test16SixteenThreads () throws InterruptedException |
Public Member Functions inherited from com.jogamp.opengl.test.junit.util.UITestCase | |
| int | getMaxTestNameLen () |
| String | getSnapshotFilename (final int sn, String postSNDetail, final GLCapabilitiesImmutable caps, final int width, final int height, final boolean sinkHasAlpha, String fileSuffix, final String destPath) |
| void | snapshot (final int sn, final String postSNDetail, final GL gl, final GLReadBufferUtil readBufferUtil, final String fileSuffix, final String destPath) |
| Takes a snapshot of the drawable's current front framebuffer. More... | |
Static Public Member Functions | |
| static void | main (final String args[]) throws IOException |
Static Public Member Functions inherited from com.jogamp.opengl.test.junit.jogl.acore.InitConcurrentBaseNEWT | |
| static void | initClass () |
Static Public Member Functions inherited from com.jogamp.opengl.test.junit.util.UITestCase | |
| static void | setResetXRandRIfX11AfterClass () |
| static int | resetXRandRIfX11 () |
| Iterates through all outputs and sets the preferred mode and normal rotation using RandR 1.3. More... | |
| static int | processCommand (final String[] cmdline, final OutputStream outstream, final StringBuilder outstring, final String outPrefix) |
| static final void | oneTimeSetUpUITest () |
| static final void | oneTimeTearDownUITest () |
Additional Inherited Members | |
Protected Member Functions inherited from com.jogamp.opengl.test.junit.jogl.acore.InitConcurrentBaseNEWT | |
| void | runJOGLTasks (final int num, final boolean reuse) throws InterruptedException |
Static Protected Member Functions inherited from com.jogamp.opengl.test.junit.jogl.acore.InitConcurrentBaseNEWT | |
| static boolean | done (final JOGLTask[] tasks) |
| static String | doneDump (final JOGLTask[] tasks) |
| static boolean | isDead (final Thread[] threads) |
| static String | isAliveDump (final Thread[] threads) |
Concurrent initialization and lock-free rendering using shared NEWT Display EDT instances.
Rendering is always lock-free and independent of the EDT, however shared NEWT Display instances perform lifecycle actions (window creation etc) with locking.
Each test is decorated w/ GLProfile#shutdown() to ensure that implicit GLProfile#initSingleton() is also being tested.
Definition at line 53 of file TestInitConcurrent01NEWT.java.
|
static |
Definition at line 75 of file TestInitConcurrent01NEWT.java.
| void com.jogamp.opengl.test.junit.jogl.acore.TestInitConcurrent01NEWT.test02TwoThreads | ( | ) | throws InterruptedException |
Definition at line 56 of file TestInitConcurrent01NEWT.java.
| void com.jogamp.opengl.test.junit.jogl.acore.TestInitConcurrent01NEWT.test04FourThreads | ( | ) | throws InterruptedException |
Definition at line 61 of file TestInitConcurrent01NEWT.java.
| void com.jogamp.opengl.test.junit.jogl.acore.TestInitConcurrent01NEWT.test16SixteenThreads | ( | ) | throws InterruptedException |
Definition at line 66 of file TestInitConcurrent01NEWT.java.