|
JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java (public API).
|
NewtCanvasJFX basic functional integration test of its native parented NEWT child GLWindow attached to JavaFX's Canvas.
More...
Classes | |
| class | JFXApp |
| class | WaitAction |
Public Member Functions | |
| void | init () |
| void | release () |
| void | test00 () throws InterruptedException |
| void | test11_preAttachNewtGL_NoAnim () throws InterruptedException |
| void | test12_postAttachNewt_NoAnim () throws InterruptedException |
| void | test13_postAttachGL_NoAnim () throws InterruptedException |
| void | test14_postAttachNewtGL_NoAnim () throws InterruptedException |
| void | test21_preAttachNewtGL_DoAnim () throws InterruptedException |
| void | test22_postAttachNewt_DoAnim () throws InterruptedException |
| void | test30_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 () throws InterruptedException |
| static void | shutdown () |
| 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, final boolean postAttachNewtCanvas, final boolean postAttachGLWindow, final boolean useAnimator) throws InterruptedException |
NewtCanvasJFX basic functional integration test of its native parented NEWT child GLWindow attached to JavaFX's Canvas.
NewtCanvasJFX allows utilizing custom GLCapabilities settings independent from the JavaFX's window as well as independent rendering from JavaFX's thread.
This unit tests also tests NewtCanvasJFX native parenting operations before and after it's belonging Group's Scene has been attached to the JavaFX Window's actual native window, i.e. becoming fully realized and visible.
Note that JFXAccessor#runOnJFXThread(boolean, Runnable) is still used to for certain mandatory JavaFX lifecycle operation on the JavaFX thread.
The demo code uses NewtReparentingKeyAdapter including NEWTDemoListener functionality.
Manual invocation via main allows running a single test, e.g. -test 21, and setting each tests's duration in milliseconds, e.g.-time 10000.
Definition at line 105 of file TestNewtCanvasJFXGLn.java.
| void com.jogamp.opengl.test.junit.jogl.javafx.TestNewtCanvasJFXGLn.init | ( | ) |
|
static |
| void com.jogamp.opengl.test.junit.jogl.javafx.TestNewtCanvasJFXGLn.release | ( | ) |
Definition at line 202 of file TestNewtCanvasJFXGLn.java.
|
protected |
|
static |
|
static |
| void com.jogamp.opengl.test.junit.jogl.javafx.TestNewtCanvasJFXGLn.test00 | ( | ) | throws InterruptedException |
Definition at line 439 of file TestNewtCanvasJFXGLn.java.
| void com.jogamp.opengl.test.junit.jogl.javafx.TestNewtCanvasJFXGLn.test11_preAttachNewtGL_NoAnim | ( | ) | throws InterruptedException |
| void com.jogamp.opengl.test.junit.jogl.javafx.TestNewtCanvasJFXGLn.test12_postAttachNewt_NoAnim | ( | ) | throws InterruptedException |
| void com.jogamp.opengl.test.junit.jogl.javafx.TestNewtCanvasJFXGLn.test13_postAttachGL_NoAnim | ( | ) | throws InterruptedException |
| void com.jogamp.opengl.test.junit.jogl.javafx.TestNewtCanvasJFXGLn.test14_postAttachNewtGL_NoAnim | ( | ) | throws InterruptedException |
| void com.jogamp.opengl.test.junit.jogl.javafx.TestNewtCanvasJFXGLn.test21_preAttachNewtGL_DoAnim | ( | ) | throws InterruptedException |
| void com.jogamp.opengl.test.junit.jogl.javafx.TestNewtCanvasJFXGLn.test22_postAttachNewt_DoAnim | ( | ) | throws InterruptedException |
| void com.jogamp.opengl.test.junit.jogl.javafx.TestNewtCanvasJFXGLn.test30_MultisampleAndAlpha | ( | ) | throws InterruptedException |