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

Toolkit agnostic GLOffscreenAutoDrawable tests using the factory model. More...

Inheritance diagram for com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableFactoryES2OffscrnCapsNEWT:
Collaboration diagram for com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableFactoryES2OffscrnCapsNEWT:

Public Member Functions

void testES2OffScreenAutoDblBuf () throws InterruptedException
 
void testES2OffScreenFBODblBuf () throws InterruptedException
 
void testES2OffScreenFBOSglBuf () throws InterruptedException
 
void testES2OffScreenFBODblBufStencil () throws InterruptedException
 
void testES2OffScreenFBODblBufMSAA () throws InterruptedException
 
void testES2OffScreenFBODblBufStencilMSAA () throws InterruptedException
 
void testES2OffScreenPbufferDblBuf () throws InterruptedException
 
void testES2OffScreenPbufferSglBuf () throws InterruptedException
 
void testES2OffScreenPbufferDblBufStencil () throws InterruptedException
 
void testES2OffScreenPbufferDblBufMSAA () throws InterruptedException
 
void testES2OffScreenPbufferDblBufStencilMSAA () throws InterruptedException
 
- 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[]) throws IOException
 NOT Implemented: Might be reduced to !double-buff @Test public void testES2OffScreenBitmapDblBuf() throws InterruptedException { final GLCapabilities reqGLCaps = getCaps(GLProfile.GLES2); if(null == reqGLCaps) return; reqGLCaps.setOnscreen(false); reqGLCaps.setBitmap(true); doTest(reqGLCaps, new Gears(1)); }. More...
 
- 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

Toolkit agnostic GLOffscreenAutoDrawable tests using the factory model.

The created GLOffscreenAutoDrawable is being used to run the GLEventListener.

Definition at line 62 of file TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.java.

Member Function Documentation

◆ main()

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

NOT Implemented: Might be reduced to !double-buff @Test public void testES2OffScreenBitmapDblBuf() throws InterruptedException { final GLCapabilities reqGLCaps = getCaps(GLProfile.GLES2); if(null == reqGLCaps) return; reqGLCaps.setOnscreen(false); reqGLCaps.setBitmap(true); doTest(reqGLCaps, new Gears(1)); }.

@Test public void testES2OffScreenBitmapSglBuf() throws InterruptedException { final GLCapabilities reqGLCaps = getCaps(GLProfile.GLES2); if(null == reqGLCaps) return; reqGLCaps.setOnscreen(false); reqGLCaps.setBitmap(true); reqGLCaps.setDoubleBuffered(false); doTest(reqGLCaps, new Gears(1)); }

Might be reduced to !stencil @Test public void testES2OffScreenBitmapDblBufStencil() throws InterruptedException { final GLCapabilities reqGLCaps = getCaps(GLProfile.GLES2); if(null == reqGLCaps) return; reqGLCaps.setOnscreen(false); reqGLCaps.setBitmap(true); reqGLCaps.setStencilBits(1); doTest(reqGLCaps, new GearsES2(1)); }

Might be reduced to !MSAA @Test public void testES2OffScreenBitmapDblBufMSAA() throws InterruptedException { final GLCapabilities reqGLCaps = getCaps(GLProfile.GLES2); if(null == reqGLCaps) return; reqGLCaps.setOnscreen(false); reqGLCaps.setBitmap(true); reqGLCaps.setSampleBuffers(true); reqGLCaps.setNumSamples(4); doTest(reqGLCaps, new GearsES2(1)); }

Might be reduced to !stencil && !MSAA @Test public void testES2OffScreenBitmapDblBufStencilMSAA() throws InterruptedException { final GLCapabilities reqGLCaps = getCaps(GLProfile.GLES2); if(null == reqGLCaps) return; reqGLCaps.setOnscreen(false); reqGLCaps.setBitmap(true); reqGLCaps.setStencilBits(1); reqGLCaps.setSampleBuffers(true); reqGLCaps.setNumSamples(4); doTest(reqGLCaps, new GearsES2(1)); }

Definition at line 329 of file TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.java.

◆ testES2OffScreenAutoDblBuf()

void com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.testES2OffScreenAutoDblBuf ( ) throws InterruptedException

Definition at line 158 of file TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.java.

Here is the call graph for this function:

◆ testES2OffScreenFBODblBuf()

void com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.testES2OffScreenFBODblBuf ( ) throws InterruptedException

Definition at line 166 of file TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.java.

Here is the call graph for this function:

◆ testES2OffScreenFBODblBufMSAA()

void com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.testES2OffScreenFBODblBufMSAA ( ) throws InterruptedException

Definition at line 195 of file TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.java.

Here is the call graph for this function:

◆ testES2OffScreenFBODblBufStencil()

void com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.testES2OffScreenFBODblBufStencil ( ) throws InterruptedException

Definition at line 185 of file TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.java.

Here is the call graph for this function:

◆ testES2OffScreenFBODblBufStencilMSAA()

void com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.testES2OffScreenFBODblBufStencilMSAA ( ) throws InterruptedException

Definition at line 206 of file TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.java.

Here is the call graph for this function:

◆ testES2OffScreenFBOSglBuf()

void com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.testES2OffScreenFBOSglBuf ( ) throws InterruptedException

Definition at line 175 of file TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.java.

Here is the call graph for this function:

◆ testES2OffScreenPbufferDblBuf()

void com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.testES2OffScreenPbufferDblBuf ( ) throws InterruptedException

Definition at line 218 of file TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.java.

Here is the call graph for this function:

◆ testES2OffScreenPbufferDblBufMSAA()

void com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.testES2OffScreenPbufferDblBufMSAA ( ) throws InterruptedException

Definition at line 249 of file TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.java.

Here is the call graph for this function:

◆ testES2OffScreenPbufferDblBufStencil()

void com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.testES2OffScreenPbufferDblBufStencil ( ) throws InterruptedException

Definition at line 238 of file TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.java.

Here is the call graph for this function:

◆ testES2OffScreenPbufferDblBufStencilMSAA()

void com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.testES2OffScreenPbufferDblBufStencilMSAA ( ) throws InterruptedException

Definition at line 261 of file TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.java.

Here is the call graph for this function:

◆ testES2OffScreenPbufferSglBuf()

void com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.testES2OffScreenPbufferSglBuf ( ) throws InterruptedException

Definition at line 227 of file TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.java.

Here is the call graph for this function:

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