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

Unit test for bug 826, test GLJPanel's TextureState save and restore. More...

Inheritance diagram for com.jogamp.opengl.test.junit.jogl.awt.TestGLJPanelTextureStateAWT:
Collaboration diagram for com.jogamp.opengl.test.junit.jogl.awt.TestGLJPanelTextureStateAWT:

Public Member Functions

void testImpl (final boolean keepTextureBound, final int texUnit) throws InterruptedException, IOException
 
void test01_texUnit0_keepTex0_ES2 () throws InterruptedException, IOException
 
void test02_texUnit0_keepTex1_ES2 () throws InterruptedException, IOException
 
void test03_texUnit1_keepTex1_ES2 () 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 826, test GLJPanel's TextureState save and restore.

Definition at line 67 of file TestGLJPanelTextureStateAWT.java.

Member Function Documentation

◆ initClass()

static void com.jogamp.opengl.test.junit.jogl.awt.TestGLJPanelTextureStateAWT.initClass ( )
static

Definition at line 72 of file TestGLJPanelTextureStateAWT.java.

◆ main()

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

Definition at line 306 of file TestGLJPanelTextureStateAWT.java.

Here is the call graph for this function:

◆ test01_texUnit0_keepTex0_ES2()

void com.jogamp.opengl.test.junit.jogl.awt.TestGLJPanelTextureStateAWT.test01_texUnit0_keepTex0_ES2 ( ) throws InterruptedException, IOException

Definition at line 294 of file TestGLJPanelTextureStateAWT.java.

◆ test02_texUnit0_keepTex1_ES2()

void com.jogamp.opengl.test.junit.jogl.awt.TestGLJPanelTextureStateAWT.test02_texUnit0_keepTex1_ES2 ( ) throws InterruptedException, IOException

Definition at line 298 of file TestGLJPanelTextureStateAWT.java.

◆ test03_texUnit1_keepTex1_ES2()

void com.jogamp.opengl.test.junit.jogl.awt.TestGLJPanelTextureStateAWT.test03_texUnit1_keepTex1_ES2 ( ) throws InterruptedException, IOException

Definition at line 302 of file TestGLJPanelTextureStateAWT.java.

◆ testImpl()

void com.jogamp.opengl.test.junit.jogl.awt.TestGLJPanelTextureStateAWT.testImpl ( final boolean  keepTextureBound,
final int  texUnit 
) throws InterruptedException, IOException

Definition at line 90 of file TestGLJPanelTextureStateAWT.java.

Here is the call graph for this function:

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