|
JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java (public API).
|
Toolkit agnostic GLOffscreenAutoDrawable tests using the factory model.
More...
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 () |
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.
|
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.
| void com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.testES2OffScreenAutoDblBuf | ( | ) | throws InterruptedException |
Definition at line 158 of file TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.java.
| void com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.testES2OffScreenFBODblBuf | ( | ) | throws InterruptedException |
Definition at line 166 of file TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.java.
| void com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.testES2OffScreenFBODblBufMSAA | ( | ) | throws InterruptedException |
Definition at line 195 of file TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.java.
| void com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.testES2OffScreenFBODblBufStencil | ( | ) | throws InterruptedException |
Definition at line 185 of file TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.java.
| void com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.testES2OffScreenFBODblBufStencilMSAA | ( | ) | throws InterruptedException |
Definition at line 206 of file TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.java.
| void com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.testES2OffScreenFBOSglBuf | ( | ) | throws InterruptedException |
Definition at line 175 of file TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.java.
| void com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.testES2OffScreenPbufferDblBuf | ( | ) | throws InterruptedException |
Definition at line 218 of file TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.java.
| void com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.testES2OffScreenPbufferDblBufMSAA | ( | ) | throws InterruptedException |
Definition at line 249 of file TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.java.
| void com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.testES2OffScreenPbufferDblBufStencil | ( | ) | throws InterruptedException |
Definition at line 238 of file TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.java.
| void com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.testES2OffScreenPbufferDblBufStencilMSAA | ( | ) | throws InterruptedException |
Definition at line 261 of file TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.java.
| void com.jogamp.opengl.test.junit.jogl.acore.TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.testES2OffScreenPbufferSglBuf | ( | ) | throws InterruptedException |
Definition at line 227 of file TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.java.