|
JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java (public API).
|
Tests that a basic SWT app can open without crashing under different GL profiles. More...
Public Member Functions | |
| void | init () |
| void | release () |
| void | test () throws InterruptedException |
| void | test_MultisampleAndAlpha () 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 | startup () |
| 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 () |
Protected Member Functions | |
| void | runTestAGL (final GLCapabilitiesImmutable caps, final GLEventListener demo) throws InterruptedException |
Tests that a basic SWT app can open without crashing under different GL profiles.
Uses JOGL's new SWT GLCanvas, which allows utilizing custom GLCapability settings, independent from the already instantiated SWT visual.
Note that SWTAccessor#invokeOnOSTKThread(boolean, Runnable) is still used to comply w/ SWT running on Mac OSX, i.e. to enforce UI action on the main thread.
Definition at line 76 of file TestSWTJOGLGLCanvas01GLn.java.
| void com.jogamp.opengl.test.junit.jogl.swt.TestSWTJOGLGLCanvas01GLn.init | ( | ) |
Definition at line 94 of file TestSWTJOGLGLCanvas01GLn.java.
|
static |
Definition at line 220 of file TestSWTJOGLGLCanvas01GLn.java.
| void com.jogamp.opengl.test.junit.jogl.swt.TestSWTJOGLGLCanvas01GLn.release | ( | ) |
Definition at line 115 of file TestSWTJOGLGLCanvas01GLn.java.
|
protected |
Definition at line 141 of file TestSWTJOGLGLCanvas01GLn.java.
|
static |
Definition at line 89 of file TestSWTJOGLGLCanvas01GLn.java.
| void com.jogamp.opengl.test.junit.jogl.swt.TestSWTJOGLGLCanvas01GLn.test | ( | ) | throws InterruptedException |
Definition at line 200 of file TestSWTJOGLGLCanvas01GLn.java.
| void com.jogamp.opengl.test.junit.jogl.swt.TestSWTJOGLGLCanvas01GLn.test_MultisampleAndAlpha | ( | ) | throws InterruptedException |
Definition at line 205 of file TestSWTJOGLGLCanvas01GLn.java.