|
JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java (public API).
|
Test re-association of GLContext/GLDrawables, here GLContext's survival of GLDrawable destruction and reuse w/ new or recreated GLDrawable. More...
Public Member Functions | |
| void | test01GLCanvasOnScrn2GLWindowGL2ES2 () throws InterruptedException |
| void | test02GLCanvasOnScrn2GLWindowGLES2 () throws InterruptedException |
| void | test11GLWindow2GLCanvasOnScrnGL2ES2 () throws InterruptedException |
| void | test12GLWindow2GLCanvasOnScrnGLES2 () throws InterruptedException |
| void | test21GLCanvasOffScrn2GLWindowGL2ES2 () throws InterruptedException |
| void | test22GLCanvasOffScrn2GLWindowGLES2 () throws InterruptedException |
| void | test31GLWindow2GLCanvasOffScrnGL2ES2 () throws InterruptedException |
| void | test32GLWindow2GLCanvasOffScrnGLES2 () 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 |
Static Public Member Functions inherited from com.jogamp.opengl.test.junit.jogl.acore.glels.GLContextDrawableSwitchBase1 | |
| static void | initClass () |
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 () |
Additional Inherited Members | |
Protected Member Functions inherited from com.jogamp.opengl.test.junit.jogl.acore.glels.GLContextDrawableSwitchBase1 | |
| void | testGLADOneLifecycle (final Screen screen, final GLCapabilities caps, final GLADType gladType, final int width, final int height, final GLEventListenerCounter glelTracker, final SnapshotGLEventListener snapshotGLEventListener, final GLEventListenerState glelsIn, final GLEventListenerState glelsOut[], final GLAnimatorControl animator) throws InterruptedException |
Static Protected Member Functions inherited from com.jogamp.opengl.test.junit.jogl.acore.glels.GLContextDrawableSwitchBase1 | |
| static boolean | validateOnOffscreenLayer (final GLADType gladType1, final GLADType gladType2) |
Test re-association of GLContext/GLDrawables, here GLContext's survival of GLDrawable destruction and reuse w/ new or recreated GLDrawable.
Test utilizes GLEventListenerState for preserving the GLAutoDrawable state, i.e. GLContext, all GLEventListener and the GLAnimatorControl association.
This test moves the GLEventListenerState from a NEWT GLWindow before it's destruction to an AWT GLCanvas after it's creation and vice versa
See Bug 665 - https://jogamp.org/bugzilla/show_bug.cgi?id=665.
Interesting artifact w/ ATI proprietary driver is that the bug causing the quirk GLRendererQuirks#DontCloseX11Display also causes an XCB crash when reusing the X11 display connection from AWT -> NEWT. Pre-allocating the X11 Display and keeping it referenced to avoid such re-usage worksaround this problem.
Definition at line 76 of file TestGLContextDrawableSwitch13Newt2AWT.java.
|
static |
Definition at line 180 of file TestGLContextDrawableSwitch13Newt2AWT.java.
| void com.jogamp.opengl.test.junit.jogl.acore.glels.TestGLContextDrawableSwitch13Newt2AWT.test01GLCanvasOnScrn2GLWindowGL2ES2 | ( | ) | throws InterruptedException |
Definition at line 79 of file TestGLContextDrawableSwitch13Newt2AWT.java.
| void com.jogamp.opengl.test.junit.jogl.acore.glels.TestGLContextDrawableSwitch13Newt2AWT.test02GLCanvasOnScrn2GLWindowGLES2 | ( | ) | throws InterruptedException |
Definition at line 86 of file TestGLContextDrawableSwitch13Newt2AWT.java.
| void com.jogamp.opengl.test.junit.jogl.acore.glels.TestGLContextDrawableSwitch13Newt2AWT.test11GLWindow2GLCanvasOnScrnGL2ES2 | ( | ) | throws InterruptedException |
Definition at line 93 of file TestGLContextDrawableSwitch13Newt2AWT.java.
| void com.jogamp.opengl.test.junit.jogl.acore.glels.TestGLContextDrawableSwitch13Newt2AWT.test12GLWindow2GLCanvasOnScrnGLES2 | ( | ) | throws InterruptedException |
Definition at line 104 of file TestGLContextDrawableSwitch13Newt2AWT.java.
| void com.jogamp.opengl.test.junit.jogl.acore.glels.TestGLContextDrawableSwitch13Newt2AWT.test21GLCanvasOffScrn2GLWindowGL2ES2 | ( | ) | throws InterruptedException |
Definition at line 115 of file TestGLContextDrawableSwitch13Newt2AWT.java.
| void com.jogamp.opengl.test.junit.jogl.acore.glels.TestGLContextDrawableSwitch13Newt2AWT.test22GLCanvasOffScrn2GLWindowGLES2 | ( | ) | throws InterruptedException |
Definition at line 122 of file TestGLContextDrawableSwitch13Newt2AWT.java.
| void com.jogamp.opengl.test.junit.jogl.acore.glels.TestGLContextDrawableSwitch13Newt2AWT.test31GLWindow2GLCanvasOffScrnGL2ES2 | ( | ) | throws InterruptedException |
Definition at line 129 of file TestGLContextDrawableSwitch13Newt2AWT.java.
| void com.jogamp.opengl.test.junit.jogl.acore.glels.TestGLContextDrawableSwitch13Newt2AWT.test32GLWindow2GLCanvasOffScrnGLES2 | ( | ) | throws InterruptedException |
Definition at line 140 of file TestGLContextDrawableSwitch13Newt2AWT.java.