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

Demos offscreen GLAutoDrawable being used for RandomTileRenderer rendering to produce a PNG file. More...

Inheritance diagram for com.jogamp.opengl.test.junit.jogl.tile.TestRandomTiledRendering2GL2NEWT:
Collaboration diagram for com.jogamp.opengl.test.junit.jogl.tile.TestRandomTiledRendering2GL2NEWT:

Public Member Functions

void test01_aa0 () throws IOException, InterruptedException, InvocationTargetException
 
void test02_aa8 () throws IOException, 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 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 ()
 

Detailed Description

Demos offscreen GLAutoDrawable being used for RandomTileRenderer rendering to produce a PNG file.

RandomTileRenderer is being kicked off from the main thread.

RandomTileRenderer buffer allocation is performed within the pre GLEventListener set via TileRendererBase#setGLEventListener(GLEventListener, GLEventListener) on the main thread.

At tile rendering finish, the viewport and and the original GLEventListener's PMV matrix as well. The latter is done by calling it's reshape method.

Definition at line 75 of file TestRandomTiledRendering2GL2NEWT.java.

Member Function Documentation

◆ main()

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

Definition at line 184 of file TestRandomTiledRendering2GL2NEWT.java.

◆ test01_aa0()

void com.jogamp.opengl.test.junit.jogl.tile.TestRandomTiledRendering2GL2NEWT.test01_aa0 ( ) throws IOException, InterruptedException, InvocationTargetException

Definition at line 79 of file TestRandomTiledRendering2GL2NEWT.java.

◆ test02_aa8()

void com.jogamp.opengl.test.junit.jogl.tile.TestRandomTiledRendering2GL2NEWT.test02_aa8 ( ) throws IOException, InterruptedException, InvocationTargetException

Definition at line 83 of file TestRandomTiledRendering2GL2NEWT.java.


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