JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.test.junit.newt.parenting.TestParenting01dAWT Class Reference

Test GL preservation case for reparenting. More...

Inheritance diagram for com.jogamp.opengl.test.junit.newt.parenting.TestParenting01dAWT:
Collaboration diagram for com.jogamp.opengl.test.junit.newt.parenting.TestParenting01dAWT:

Classes

class  MyGLEventListenerCounter
 

Public Member Functions

void test01GLWindowReparentRecreateNoPreserve () throws InterruptedException, InvocationTargetException
 
void test02GLWindowReparentRecreateGLPreserve () 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 () throws InterruptedException
 
static void main (final String args[]) throws IOException
 
- 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 ()
 

Detailed Description

Test GL preservation case for reparenting.

Also simulates adding and attaching an already created GLWindow to a NewtCanvasAWT in recreation mode, where the GL state shall be preserved.

Definition at line 65 of file TestParenting01dAWT.java.

Member Function Documentation

◆ initClass()

static void com.jogamp.opengl.test.junit.newt.parenting.TestParenting01dAWT.initClass ( ) throws InterruptedException
static

Definition at line 72 of file TestParenting01dAWT.java.

◆ main()

static void com.jogamp.opengl.test.junit.newt.parenting.TestParenting01dAWT.main ( final String  args[]) throws IOException
static

Definition at line 254 of file TestParenting01dAWT.java.

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

◆ test01GLWindowReparentRecreateNoPreserve()

void com.jogamp.opengl.test.junit.newt.parenting.TestParenting01dAWT.test01GLWindowReparentRecreateNoPreserve ( ) throws InterruptedException, InvocationTargetException

Definition at line 101 of file TestParenting01dAWT.java.

◆ test02GLWindowReparentRecreateGLPreserve()

void com.jogamp.opengl.test.junit.newt.parenting.TestParenting01dAWT.test02GLWindowReparentRecreateGLPreserve ( ) throws InterruptedException, InvocationTargetException

Definition at line 106 of file TestParenting01dAWT.java.


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