|
JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java (public API).
|
Tests utilizing SWTAccessor#getWindowHandle(org.eclipse.swt.widgets.Control) for NEWT native window reparenting also using GL rendering GLWindow#reparentWindow(NativeWindow, int, int, int).
More...
Public Member Functions | |
| void | test () throws InterruptedException, InvocationTargetException |
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[]) |
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 | init () throws InterruptedException, InvocationTargetException |
| void | release (final GLWindow glwin) throws InterruptedException, InvocationTargetException |
| void | runTest () throws InterruptedException, InvocationTargetException |
Tests utilizing SWTAccessor#getWindowHandle(org.eclipse.swt.widgets.Control) for NEWT native window reparenting also using GL rendering GLWindow#reparentWindow(NativeWindow, int, int, int).
This tests re-creates NewtCanvasSWT's implementation ad-hock, allowing simplified debugging.
Enhanced version of TestSWTAccessor01.
Bug 1362 inspired this unit test, i.e. finding the issue of SWT >= 4.10 + GTK3.
Definition at line 87 of file TestSWTAccessor02NewtGLWindow.java.
|
protected |
Definition at line 95 of file TestSWTAccessor02NewtGLWindow.java.
|
static |
Definition at line 234 of file TestSWTAccessor02NewtGLWindow.java.
|
protected |
Definition at line 123 of file TestSWTAccessor02NewtGLWindow.java.
|
protected |
Definition at line 140 of file TestSWTAccessor02NewtGLWindow.java.
| void com.jogamp.opengl.test.junit.jogl.swt.TestSWTAccessor02NewtGLWindow.test | ( | ) | throws InterruptedException, InvocationTargetException |
Definition at line 230 of file TestSWTAccessor02NewtGLWindow.java.