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

Sharing the VBO of 3 GearsES2 instances, each in their own GLWindow. More...

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

Public Member Functions

void test01SyncedOneAnimatorCleanDtorOrderCopyBuffer () throws InterruptedException
 
void test02SyncedOneAnimatorCleanDtorOrderMapBuffer () throws InterruptedException
 
void test03SyncedOneAnimatorDirtyDtorOrderCopyBuffer () throws InterruptedException
 
void test04SyncedOneAnimatorDirtyDtorOrderMapBuffer () throws InterruptedException
 
void syncedOneAnimator (final boolean destroyCleanOrder, final boolean useMappedBuffers) throws InterruptedException
 
void test11ASyncEachAnimatorCleanDtorOrderCopyBuffer () throws InterruptedException
 
void test12ASyncEachAnimatorCleanDtorOrderMapBuffer () throws InterruptedException
 
void test13AsyncEachAnimatorDirtyDtorOrderCopyBuffers () throws InterruptedException
 
void test14AsyncEachAnimatorDirtyDtorOrderMapBuffers () throws InterruptedException
 
void asyncEachAnimator (final boolean destroyCleanOrder, final boolean useMappedBuffers) 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 initClass ()
 
static void main (final String args[])
 
- 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

GLWindow createGLWindow (final int x, final int y, final GearsES2 gears) throws InterruptedException
 

Detailed Description

Sharing the VBO of 3 GearsES2 instances, each in their own GLWindow.

This is achieved by using the 1st GLWindow as the master and synchronizing via GLSharedContextSetter to postpone creation of the 2nd and 3rd GLWindow until the 1st GLWindow's GLContext becomes created.

Above method allows random creation of the 1st GLWindow, which triggers creation of the dependent other GLWindow sharing it's GLContext.

Definition at line 66 of file TestSharedContextVBOES2NEWT3.java.

Member Function Documentation

◆ asyncEachAnimator()

void com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT3.asyncEachAnimator ( final boolean  destroyCleanOrder,
final boolean  useMappedBuffers 
) throws InterruptedException

Definition at line 267 of file TestSharedContextVBOES2NEWT3.java.

Here is the call graph for this function:

◆ createGLWindow()

GLWindow com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT3.createGLWindow ( final int  x,
final int  y,
final GearsES2  gears 
) throws InterruptedException
protected

Definition at line 85 of file TestSharedContextVBOES2NEWT3.java.

Here is the call graph for this function:

◆ initClass()

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

Definition at line 72 of file TestSharedContextVBOES2NEWT3.java.

Here is the call graph for this function:

◆ main()

static void com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT3.main ( final String  args[])
static

Definition at line 399 of file TestSharedContextVBOES2NEWT3.java.

◆ syncedOneAnimator()

void com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT3.syncedOneAnimator ( final boolean  destroyCleanOrder,
final boolean  useMappedBuffers 
) throws InterruptedException

Definition at line 114 of file TestSharedContextVBOES2NEWT3.java.

Here is the call graph for this function:

◆ test01SyncedOneAnimatorCleanDtorOrderCopyBuffer()

void com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT3.test01SyncedOneAnimatorCleanDtorOrderCopyBuffer ( ) throws InterruptedException

Definition at line 97 of file TestSharedContextVBOES2NEWT3.java.

◆ test02SyncedOneAnimatorCleanDtorOrderMapBuffer()

void com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT3.test02SyncedOneAnimatorCleanDtorOrderMapBuffer ( ) throws InterruptedException

Definition at line 101 of file TestSharedContextVBOES2NEWT3.java.

◆ test03SyncedOneAnimatorDirtyDtorOrderCopyBuffer()

void com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT3.test03SyncedOneAnimatorDirtyDtorOrderCopyBuffer ( ) throws InterruptedException

Definition at line 106 of file TestSharedContextVBOES2NEWT3.java.

◆ test04SyncedOneAnimatorDirtyDtorOrderMapBuffer()

void com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT3.test04SyncedOneAnimatorDirtyDtorOrderMapBuffer ( ) throws InterruptedException

Definition at line 110 of file TestSharedContextVBOES2NEWT3.java.

◆ test11ASyncEachAnimatorCleanDtorOrderCopyBuffer()

void com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT3.test11ASyncEachAnimatorCleanDtorOrderCopyBuffer ( ) throws InterruptedException

Definition at line 250 of file TestSharedContextVBOES2NEWT3.java.

◆ test12ASyncEachAnimatorCleanDtorOrderMapBuffer()

void com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT3.test12ASyncEachAnimatorCleanDtorOrderMapBuffer ( ) throws InterruptedException

Definition at line 254 of file TestSharedContextVBOES2NEWT3.java.

◆ test13AsyncEachAnimatorDirtyDtorOrderCopyBuffers()

void com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT3.test13AsyncEachAnimatorDirtyDtorOrderCopyBuffers ( ) throws InterruptedException

Definition at line 259 of file TestSharedContextVBOES2NEWT3.java.

◆ test14AsyncEachAnimatorDirtyDtorOrderMapBuffers()

void com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT3.test14AsyncEachAnimatorDirtyDtorOrderMapBuffers ( ) throws InterruptedException

Definition at line 263 of file TestSharedContextVBOES2NEWT3.java.


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