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

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

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

Public Member Functions

void test01SyncedOneAnimatorCleanDtorOrder () throws InterruptedException, InvocationTargetException
 
void test02SyncedOneAnimatorDirtyDtorOrder () throws InterruptedException, InvocationTargetException
 
void syncedOneAnimator (final boolean destroyCleanOrder) throws InterruptedException, InvocationTargetException
 
void test11AsyncEachAnimatorCleanDtorOrder () throws InterruptedException, InvocationTargetException
 
void test12AsyncEachAnimatorDirtyDtorOrder () throws InterruptedException, InvocationTargetException
 
void asyncEachOneAnimator (final boolean destroyCleanOrder) throws InterruptedException, InvocationTargetException
 
- 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

GLCanvas createGLCanvas (final Frame frame, final int x, final int y, final GearsES2 gears) throws InterruptedException
 

Detailed Description

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

This is achieved by using the 1st GLCanvas as the master and using the build-in blocking mechanism to postpone creation of the 2nd and 3rd GLCanvas until the 1st GLCanvas's GLContext becomes created.

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

Definition at line 67 of file TestSharedContextVBOES2AWT3.java.

Member Function Documentation

◆ asyncEachOneAnimator()

void com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2AWT3.asyncEachOneAnimator ( final boolean  destroyCleanOrder) throws InterruptedException, InvocationTargetException

Definition at line 245 of file TestSharedContextVBOES2AWT3.java.

Here is the call graph for this function:

◆ createGLCanvas()

GLCanvas com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2AWT3.createGLCanvas ( final Frame  frame,
final int  x,
final int  y,
final GearsES2  gears 
) throws InterruptedException
protected

Definition at line 86 of file TestSharedContextVBOES2AWT3.java.

Here is the call graph for this function:

◆ initClass()

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

Definition at line 73 of file TestSharedContextVBOES2AWT3.java.

Here is the call graph for this function:

◆ main()

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

Definition at line 391 of file TestSharedContextVBOES2AWT3.java.

◆ syncedOneAnimator()

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

Definition at line 107 of file TestSharedContextVBOES2AWT3.java.

Here is the call graph for this function:

◆ test01SyncedOneAnimatorCleanDtorOrder()

void com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2AWT3.test01SyncedOneAnimatorCleanDtorOrder ( ) throws InterruptedException, InvocationTargetException

Definition at line 98 of file TestSharedContextVBOES2AWT3.java.

◆ test02SyncedOneAnimatorDirtyDtorOrder()

void com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2AWT3.test02SyncedOneAnimatorDirtyDtorOrder ( ) throws InterruptedException, InvocationTargetException

Definition at line 103 of file TestSharedContextVBOES2AWT3.java.

◆ test11AsyncEachAnimatorCleanDtorOrder()

void com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2AWT3.test11AsyncEachAnimatorCleanDtorOrder ( ) throws InterruptedException, InvocationTargetException

Definition at line 236 of file TestSharedContextVBOES2AWT3.java.

◆ test12AsyncEachAnimatorDirtyDtorOrder()

void com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2AWT3.test12AsyncEachAnimatorDirtyDtorOrder ( ) throws InterruptedException, InvocationTargetException

Definition at line 241 of file TestSharedContextVBOES2AWT3.java.


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