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

Public Member Functions

void test01Onscreen () throws AWTException, InterruptedException, InvocationTargetException
 
void test02OffscreenFBO () throws AWTException, InterruptedException, InvocationTargetException
 
void test03OffscreenPBuffer () throws AWTException, 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 releaseClass ()
 
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 ()
 

Protected Member Functions

JPanel create (final JFrame[] top, final int width, final int height, final int num) throws InterruptedException, InvocationTargetException
 
void add (final Container cont, final Component comp) throws InterruptedException, InvocationTargetException
 
void dispose (final GLCanvas glc) throws InterruptedException, InvocationTargetException
 
void setVisible (final JFrame jFrame, final boolean visible) throws InterruptedException, InvocationTargetException
 
void dispose (final JFrame jFrame) throws InterruptedException, InvocationTargetException
 
void runTestGL (final boolean onscreen, final GLCapabilities caps, final int addRemoveOpCount) throws AWTException, InterruptedException, InvocationTargetException
 

Detailed Description

Definition at line 61 of file TestAddRemove01GLCanvasSwingAWT.java.

Member Function Documentation

◆ add()

void com.jogamp.opengl.test.junit.jogl.acore.TestAddRemove01GLCanvasSwingAWT.add ( final Container  cont,
final Component  comp 
) throws InterruptedException, InvocationTargetException
protected

Definition at line 113 of file TestAddRemove01GLCanvasSwingAWT.java.

◆ create()

JPanel com.jogamp.opengl.test.junit.jogl.acore.TestAddRemove01GLCanvasSwingAWT.create ( final JFrame[]  top,
final int  width,
final int  height,
final int  num 
) throws InterruptedException, InvocationTargetException
protected

Definition at line 93 of file TestAddRemove01GLCanvasSwingAWT.java.

◆ dispose() [1/2]

void com.jogamp.opengl.test.junit.jogl.acore.TestAddRemove01GLCanvasSwingAWT.dispose ( final GLCanvas  glc) throws InterruptedException, InvocationTargetException
protected

Definition at line 122 of file TestAddRemove01GLCanvasSwingAWT.java.

◆ dispose() [2/2]

void com.jogamp.opengl.test.junit.jogl.acore.TestAddRemove01GLCanvasSwingAWT.dispose ( final JFrame  jFrame) throws InterruptedException, InvocationTargetException
protected

Definition at line 142 of file TestAddRemove01GLCanvasSwingAWT.java.

◆ initClass()

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

Definition at line 76 of file TestAddRemove01GLCanvasSwingAWT.java.

Here is the call graph for this function:

◆ main()

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

Definition at line 249 of file TestAddRemove01GLCanvasSwingAWT.java.

Here is the call graph for this function:

◆ releaseClass()

static void com.jogamp.opengl.test.junit.jogl.acore.TestAddRemove01GLCanvasSwingAWT.releaseClass ( )
static

Definition at line 90 of file TestAddRemove01GLCanvasSwingAWT.java.

◆ runTestGL()

void com.jogamp.opengl.test.junit.jogl.acore.TestAddRemove01GLCanvasSwingAWT.runTestGL ( final boolean  onscreen,
final GLCapabilities  caps,
final int  addRemoveOpCount 
) throws AWTException, InterruptedException, InvocationTargetException
protected

Definition at line 149 of file TestAddRemove01GLCanvasSwingAWT.java.

Here is the call graph for this function:

◆ setVisible()

void com.jogamp.opengl.test.junit.jogl.acore.TestAddRemove01GLCanvasSwingAWT.setVisible ( final JFrame  jFrame,
final boolean  visible 
) throws InterruptedException, InvocationTargetException
protected

Definition at line 131 of file TestAddRemove01GLCanvasSwingAWT.java.

◆ test01Onscreen()

void com.jogamp.opengl.test.junit.jogl.acore.TestAddRemove01GLCanvasSwingAWT.test01Onscreen ( ) throws AWTException, InterruptedException, InvocationTargetException

Definition at line 200 of file TestAddRemove01GLCanvasSwingAWT.java.

◆ test02OffscreenFBO()

void com.jogamp.opengl.test.junit.jogl.acore.TestAddRemove01GLCanvasSwingAWT.test02OffscreenFBO ( ) throws AWTException, InterruptedException, InvocationTargetException

Definition at line 212 of file TestAddRemove01GLCanvasSwingAWT.java.

Here is the call graph for this function:

◆ test03OffscreenPBuffer()

void com.jogamp.opengl.test.junit.jogl.acore.TestAddRemove01GLCanvasSwingAWT.test03OffscreenPBuffer ( ) throws AWTException, InterruptedException, InvocationTargetException

Definition at line 232 of file TestAddRemove01GLCanvasSwingAWT.java.

Here is the call graph for this function:

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