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

Expected error test sharing w/ different shared-master context, i.e. More...

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

Public Member Functions

void test01 () 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 initClass ()
 
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

GLWindow createGLWindow (final int x, final int y, final GearsES2 gears) throws InterruptedException
 

Detailed Description

Expected error test sharing w/ different shared-master context, i.e.

3rd instance using GL buffers from 1st instance but the context from the 2nd instance.

This is achieved by using the 1st GLWindow as the master and synchronizing via GLSharedContextSetter to postpone creation of the 2nd and 3rd GLWindow until the 1st GLWindow's GLContext becomes created.

Definition at line 67 of file TestSharedContextVBOES2NEWT4.java.

Member Function Documentation

◆ createGLWindow()

GLWindow com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT4.createGLWindow ( final int  x,
final int  y,
final GearsES2  gears 
) throws InterruptedException
protected

Definition at line 86 of file TestSharedContextVBOES2NEWT4.java.

Here is the call graph for this function:

◆ initClass()

static void com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT4.initClass ( )
static

Definition at line 73 of file TestSharedContextVBOES2NEWT4.java.

Here is the call graph for this function:

◆ main()

static void com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT4.main ( final String  args[])
static

Definition at line 219 of file TestSharedContextVBOES2NEWT4.java.

◆ test01()

void com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2NEWT4.test01 ( ) throws InterruptedException

Definition at line 98 of file TestSharedContextVBOES2NEWT4.java.

Here is the call graph for this function:

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