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

Toolkit agnostic GLOffscreenAutoDrawable.FBO tests using the factory model. More...

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

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 releaseClass ()
 
static void main (final String args[]) throws IOException
 
- 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

void runTestGL (final GLCapabilitiesImmutable caps) throws InterruptedException
 

Detailed Description

Toolkit agnostic GLOffscreenAutoDrawable.FBO tests using the factory model.

The created GLOffscreenAutoDrawable.FBO is being used to run the GLEventListener.

This test simulates shared on-thread GL context / texture usage, where the producer uses an FBO and delivers a shared texture. The receiver draws the shared texture onscreen. In detail the test consist of:

1 onscreen GLWindow

  • shares it's GLContext w/ above FBO
  • running within common Animator @ 60fps
  • uses the shared FBO texture and draws it onscreen

Definition at line 97 of file TestFBOOnThreadSharedContext1DemoES2NEWT.java.

Member Function Documentation

◆ main()

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

Definition at line 250 of file TestFBOOnThreadSharedContext1DemoES2NEWT.java.

Here is the call graph for this function:

◆ releaseClass()

static void com.jogamp.opengl.test.junit.jogl.acore.TestFBOOnThreadSharedContext1DemoES2NEWT.releaseClass ( )
static

◆ runTestGL()

void com.jogamp.opengl.test.junit.jogl.acore.TestFBOOnThreadSharedContext1DemoES2NEWT.runTestGL ( final GLCapabilitiesImmutable  caps) throws InterruptedException
protected

Definition at line 108 of file TestFBOOnThreadSharedContext1DemoES2NEWT.java.

Here is the call graph for this function:

◆ test01()

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

Definition at line 244 of file TestFBOOnThreadSharedContext1DemoES2NEWT.java.

Here is the call graph for this function:

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