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

Analyze Bug 1312: Test potential memory leak in GLContextShareSet due to its usage of hard references. More...

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

Public Member Functions

void test01CleanDtorOrder () throws InterruptedException
 
void test02DirtyDtorOrder () throws InterruptedException
 
void asyncEachAnimator (final boolean destroyCleanOrder, final int loops) 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

Analyze Bug 1312: Test potential memory leak in GLContextShareSet due to its usage of hard references.

Test uses the asynchronous one animator per instance and GL buffer mapping path only.

Definition at line 64 of file TestSharedContextVBOES2NEWT5.java.

Member Function Documentation

◆ asyncEachAnimator()

void com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT5.asyncEachAnimator ( final boolean  destroyCleanOrder,
final int  loops 
) throws InterruptedException

Definition at line 102 of file TestSharedContextVBOES2NEWT5.java.

Here is the call graph for this function:

◆ createGLWindow()

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

Definition at line 81 of file TestSharedContextVBOES2NEWT5.java.

Here is the call graph for this function:

◆ initClass()

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

Definition at line 70 of file TestSharedContextVBOES2NEWT5.java.

Here is the call graph for this function:

◆ main()

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

Definition at line 247 of file TestSharedContextVBOES2NEWT5.java.

◆ test01CleanDtorOrder()

void com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT5.test01CleanDtorOrder ( ) throws InterruptedException

Definition at line 93 of file TestSharedContextVBOES2NEWT5.java.

◆ test02DirtyDtorOrder()

void com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT5.test02DirtyDtorOrder ( ) throws InterruptedException

Definition at line 98 of file TestSharedContextVBOES2NEWT5.java.


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