JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.test.junit.jogl.acore.InitConcurrentBaseNEWT Class Referenceabstract

Concurrent and lock-free initialization and rendering using exclusive NEWT Display EDT instances, or concurrent locked initialization and lock-free rendering using a shared NEWT Display EDT instances. More...

Inheritance diagram for com.jogamp.opengl.test.junit.jogl.acore.InitConcurrentBaseNEWT:
Collaboration diagram for com.jogamp.opengl.test.junit.jogl.acore.InitConcurrentBaseNEWT:

Classes

class  JOGLTask
 

Static Public Member Functions

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 ()
 

Protected Member Functions

void runJOGLTasks (final int num, final boolean reuse) throws InterruptedException
 

Static Protected Member Functions

static boolean done (final JOGLTask[] tasks)
 
static String doneDump (final JOGLTask[] tasks)
 
static boolean isDead (final Thread[] threads)
 
static String isAliveDump (final Thread[] threads)
 

Additional Inherited Members

- 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...
 

Detailed Description

Concurrent and lock-free initialization and rendering using exclusive NEWT Display EDT instances, or concurrent locked initialization and lock-free rendering using a shared NEWT Display EDT instances.

Rendering is always lock-free and independent of the EDT.

Each test is decorated w/ GLProfile#shutdown() to ensure that implicit GLProfile#initSingleton() is also being tested.

Definition at line 62 of file InitConcurrentBaseNEWT.java.

Member Function Documentation

◆ done()

static boolean com.jogamp.opengl.test.junit.jogl.acore.InitConcurrentBaseNEWT.done ( final JOGLTask[]  tasks)
staticprotected

Definition at line 157 of file InitConcurrentBaseNEWT.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ doneDump()

static String com.jogamp.opengl.test.junit.jogl.acore.InitConcurrentBaseNEWT.doneDump ( final JOGLTask[]  tasks)
staticprotected

Definition at line 165 of file InitConcurrentBaseNEWT.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initClass()

static void com.jogamp.opengl.test.junit.jogl.acore.InitConcurrentBaseNEWT.initClass ( )
static

Definition at line 72 of file InitConcurrentBaseNEWT.java.

Here is the call graph for this function:

◆ isAliveDump()

static String com.jogamp.opengl.test.junit.jogl.acore.InitConcurrentBaseNEWT.isAliveDump ( final Thread[]  threads)
staticprotected

Definition at line 186 of file InitConcurrentBaseNEWT.java.

Here is the caller graph for this function:

◆ isDead()

static boolean com.jogamp.opengl.test.junit.jogl.acore.InitConcurrentBaseNEWT.isDead ( final Thread[]  threads)
staticprotected

Definition at line 178 of file InitConcurrentBaseNEWT.java.

Here is the caller graph for this function:

◆ runJOGLTasks()

void com.jogamp.opengl.test.junit.jogl.acore.InitConcurrentBaseNEWT.runJOGLTasks ( final int  num,
final boolean  reuse 
) throws InterruptedException
protected

Definition at line 199 of file InitConcurrentBaseNEWT.java.

Here is the call graph for this function:

The documentation for this class was generated from the following file: