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

Bug 1160. More...

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

Public Member Functions

void test01OnEDT () throws Exception
 
void test02OnExecutorThread () throws Exception
 

Static Public Member Functions

static void main (final String[] pArgs)
 

Detailed Description

Bug 1160.

Test for context sharing with an external context. Creates an external GL context, then sets up an offscreen drawable which shares with it. The test contains two cases: one which creates and repaints the offscreen drawable on the EDT, and one which does so on a dedicated thread. On Windows+NVidia, the former fails.

Definition at line 30 of file TestSharedExternalContextAWT.java.

Member Function Documentation

◆ main()

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

Definition at line 258 of file TestSharedExternalContextAWT.java.

◆ test01OnEDT()

void com.jogamp.opengl.test.junit.jogl.acore.TestSharedExternalContextAWT.test01OnEDT ( ) throws Exception

Definition at line 92 of file TestSharedExternalContextAWT.java.

◆ test02OnExecutorThread()

void com.jogamp.opengl.test.junit.jogl.acore.TestSharedExternalContextAWT.test02OnExecutorThread ( ) throws Exception

Definition at line 97 of file TestSharedExternalContextAWT.java.


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