|
JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java (public API).
|
Sample program that relies on JOGL's mechanism to handle the OpenGL context and rendering loop when using an AWT canvas attached to an Applet. More...
Classes | |
| class | MiniPApplet |
Public Member Functions | |
| void | test00 () |
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 () |
Sample program that relies on JOGL's mechanism to handle the OpenGL context and rendering loop when using an AWT canvas attached to an Applet.
BUG on OSX/CALayer w/ Java6: If frame.setTitle() is issued right after initialization the call hangs in
at apple.awt.CWindow._setTitle(Native Method) at apple.awt.CWindow.setTitle(CWindow.java:765) [1.6.0_37, build 1.6.0_37-b06-434-11M3909]
OSX/CALayer is forced by using an Applet component in this unit test.
Similar deadlock has been experienced w/ other mutable operation on an AWT Container owning a GLCanvas child, e.g. setResizable*().
Users shall make sure all mutable AWT calls are performed on the EDT, even before 1st setVisible(true) !
Definition at line 89 of file TestGLCanvasAWTActionDeadlock02AWT.java.
|
static |
Definition at line 685 of file TestGLCanvasAWTActionDeadlock02AWT.java.
| void com.jogamp.opengl.test.junit.jogl.awt.TestGLCanvasAWTActionDeadlock02AWT.test00 | ( | ) |
Definition at line 668 of file TestGLCanvasAWTActionDeadlock02AWT.java.