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

Unit test for bug 417, which shows a GLException when reading a grayscale texture. More...

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

Public Member Functions

void initTest () throws IOException
 
void cleanupTest ()
 
void testImpl (final boolean useFFP, final InputStream istream, final boolean useAWTIIOP) throws InterruptedException, IOException
 
void testGrayAWTILoaderGL2 () throws InterruptedException, IOException
 
void testGrayAWTILoaderES2 () throws InterruptedException, IOException
 
void testGrayPNGJLoaderGL2 () throws InterruptedException, IOException
 
void testGrayPNGJLoaderES2 () throws InterruptedException, IOException
 
void testTestAWTILoaderGL2 () throws InterruptedException, IOException
 
void testTestAWTILoaderES2 () throws InterruptedException, IOException
 
void testTestPNGJLoaderGL2 () throws InterruptedException, IOException
 
void testTestPNGJLoaderES2 () throws InterruptedException, IOException
 
- 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[]) 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

Unit test for bug 417, which shows a GLException when reading a grayscale texture.

Couldn't duplicate the failure, so it must have been fixed unknowingly sometime after the bug was submitted.

Author
Wade Walker, et.al.

Definition at line 74 of file TestPNGTextureFromFileAWT.java.

Member Function Documentation

◆ cleanupTest()

void com.jogamp.opengl.test.junit.jogl.util.texture.TestPNGTextureFromFileAWT.cleanupTest ( )

Definition at line 97 of file TestPNGTextureFromFileAWT.java.

◆ initClass()

static void com.jogamp.opengl.test.junit.jogl.util.texture.TestPNGTextureFromFileAWT.initClass ( )
static

Definition at line 81 of file TestPNGTextureFromFileAWT.java.

◆ initTest()

void com.jogamp.opengl.test.junit.jogl.util.texture.TestPNGTextureFromFileAWT.initTest ( ) throws IOException

Definition at line 85 of file TestPNGTextureFromFileAWT.java.

◆ main()

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

Definition at line 228 of file TestPNGTextureFromFileAWT.java.

Here is the call graph for this function:

◆ testGrayAWTILoaderES2()

void com.jogamp.opengl.test.junit.jogl.util.texture.TestPNGTextureFromFileAWT.testGrayAWTILoaderES2 ( ) throws InterruptedException, IOException

Definition at line 197 of file TestPNGTextureFromFileAWT.java.

◆ testGrayAWTILoaderGL2()

void com.jogamp.opengl.test.junit.jogl.util.texture.TestPNGTextureFromFileAWT.testGrayAWTILoaderGL2 ( ) throws InterruptedException, IOException

Definition at line 193 of file TestPNGTextureFromFileAWT.java.

◆ testGrayPNGJLoaderES2()

void com.jogamp.opengl.test.junit.jogl.util.texture.TestPNGTextureFromFileAWT.testGrayPNGJLoaderES2 ( ) throws InterruptedException, IOException

Definition at line 206 of file TestPNGTextureFromFileAWT.java.

◆ testGrayPNGJLoaderGL2()

void com.jogamp.opengl.test.junit.jogl.util.texture.TestPNGTextureFromFileAWT.testGrayPNGJLoaderGL2 ( ) throws InterruptedException, IOException

Definition at line 202 of file TestPNGTextureFromFileAWT.java.

◆ testImpl()

void com.jogamp.opengl.test.junit.jogl.util.texture.TestPNGTextureFromFileAWT.testImpl ( final boolean  useFFP,
final InputStream  istream,
final boolean  useAWTIIOP 
) throws InterruptedException, IOException

Definition at line 102 of file TestPNGTextureFromFileAWT.java.

Here is the call graph for this function:

◆ testTestAWTILoaderES2()

void com.jogamp.opengl.test.junit.jogl.util.texture.TestPNGTextureFromFileAWT.testTestAWTILoaderES2 ( ) throws InterruptedException, IOException

Definition at line 215 of file TestPNGTextureFromFileAWT.java.

◆ testTestAWTILoaderGL2()

void com.jogamp.opengl.test.junit.jogl.util.texture.TestPNGTextureFromFileAWT.testTestAWTILoaderGL2 ( ) throws InterruptedException, IOException

Definition at line 211 of file TestPNGTextureFromFileAWT.java.

◆ testTestPNGJLoaderES2()

void com.jogamp.opengl.test.junit.jogl.util.texture.TestPNGTextureFromFileAWT.testTestPNGJLoaderES2 ( ) throws InterruptedException, IOException

Definition at line 224 of file TestPNGTextureFromFileAWT.java.

◆ testTestPNGJLoaderGL2()

void com.jogamp.opengl.test.junit.jogl.util.texture.TestPNGTextureFromFileAWT.testTestPNGJLoaderGL2 ( ) throws InterruptedException, IOException

Definition at line 220 of file TestPNGTextureFromFileAWT.java.


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