JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.test.junit.jogl.util.texture.TestPNGPixelRect01NEWT Class Reference

Test reading and displaying a PNG image. More...

Inheritance diagram for com.jogamp.opengl.test.junit.jogl.util.texture.TestPNGPixelRect01NEWT:
Collaboration diagram for com.jogamp.opengl.test.junit.jogl.util.texture.TestPNGPixelRect01NEWT:

Public Member Functions

void testImpl (final int num, final String basename, final InputStream istream, final PixelFormat destFmt) throws InterruptedException, IOException
 
void testRead00_Manual () throws InterruptedException, IOException, MalformedURLException
 
void testRead01_All () throws InterruptedException, IOException, MalformedURLException
 
void testRead02_Gray2RGBA () throws InterruptedException, IOException, MalformedURLException
 
- 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

Test reading and displaying a PNG image.

Main function accepts arbitrary PNG file name for manual tests.

Definition at line 68 of file TestPNGPixelRect01NEWT.java.

Member Function Documentation

◆ main()

static void com.jogamp.opengl.test.junit.jogl.util.texture.TestPNGPixelRect01NEWT.main ( final String  args[])
static

Definition at line 196 of file TestPNGPixelRect01NEWT.java.

Here is the call graph for this function:

◆ testImpl()

void com.jogamp.opengl.test.junit.jogl.util.texture.TestPNGPixelRect01NEWT.testImpl ( final int  num,
final String  basename,
final InputStream  istream,
final PixelFormat  destFmt 
) throws InterruptedException, IOException

Definition at line 72 of file TestPNGPixelRect01NEWT.java.

Here is the call graph for this function:

◆ testRead00_Manual()

void com.jogamp.opengl.test.junit.jogl.util.texture.TestPNGPixelRect01NEWT.testRead00_Manual ( ) throws InterruptedException, IOException, MalformedURLException

Definition at line 155 of file TestPNGPixelRect01NEWT.java.

◆ testRead01_All()

void com.jogamp.opengl.test.junit.jogl.util.texture.TestPNGPixelRect01NEWT.testRead01_All ( ) throws InterruptedException, IOException, MalformedURLException

Definition at line 167 of file TestPNGPixelRect01NEWT.java.

◆ testRead02_Gray2RGBA()

void com.jogamp.opengl.test.junit.jogl.util.texture.TestPNGPixelRect01NEWT.testRead02_Gray2RGBA ( ) throws InterruptedException, IOException, MalformedURLException

Definition at line 181 of file TestPNGPixelRect01NEWT.java.


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