JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.test.junit.jogl.acore.glels.TestBug722GLContextDrawableSwitchNewt2AWT Class Reference

Tests Bug 722. More...

Inheritance diagram for com.jogamp.opengl.test.junit.jogl.acore.glels.TestBug722GLContextDrawableSwitchNewt2AWT:
Collaboration diagram for com.jogamp.opengl.test.junit.jogl.acore.glels.TestBug722GLContextDrawableSwitchNewt2AWT:

Public Member Functions

void test11GLWindow2GLCanvasOnScrnGL2ES2 () 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 ()
 

Static Public Attributes

static boolean fixedNewtDisplay = true
 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. More...
 

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)
 

Detailed Description

Member Function Documentation

◆ main()

static void com.jogamp.opengl.test.junit.jogl.acore.glels.TestBug722GLContextDrawableSwitchNewt2AWT.main ( final String  args[]) throws IOException
static

Definition at line 136 of file TestBug722GLContextDrawableSwitchNewt2AWT.java.

Here is the call graph for this function:

◆ test11GLWindow2GLCanvasOnScrnGL2ES2()

void com.jogamp.opengl.test.junit.jogl.acore.glels.TestBug722GLContextDrawableSwitchNewt2AWT.test11GLWindow2GLCanvasOnScrnGL2ES2 ( ) throws InterruptedException

Definition at line 72 of file TestBug722GLContextDrawableSwitchNewt2AWT.java.

Here is the call graph for this function:

Member Data Documentation

◆ fixedNewtDisplay

boolean com.jogamp.opengl.test.junit.jogl.acore.glels.TestBug722GLContextDrawableSwitchNewt2AWT.fixedNewtDisplay = true
static

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 69 of file TestBug722GLContextDrawableSwitchNewt2AWT.java.


The documentation for this class was generated from the following file: