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

Demonstrates fullscreen without MonitorMode change and fullscreen before and after MonitorMode change. More...

Inheritance diagram for com.jogamp.opengl.test.junit.newt.mm.TestScreenMode01dNEWT:
Collaboration diagram for com.jogamp.opengl.test.junit.newt.mm.TestScreenMode01dNEWT:

Public Member Functions

void test01FullscreenChange01 () throws InterruptedException
 
void test02ScreenModeChange01 () throws InterruptedException
 
void test03ScreenModeChangeWithFS01Post () throws InterruptedException
 
void test04ScreenModeChangeWithFS01Pre () 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 releaseClass () throws InterruptedException
 
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 testScreenModeChangeWithFS01Impl (final boolean preFS) throws InterruptedException
 

Detailed Description

Demonstrates fullscreen without MonitorMode change and fullscreen before and after MonitorMode change.

Also tests MonitorMode reset, by destroying the last Screen (reference), i.e. the original MonitorMode should get reinstated!

Also documents NV RANDR/GL bug, see TestScreenMode01dNEWT#cleanupGL().

Definition at line 71 of file TestScreenMode01dNEWT.java.

Member Function Documentation

◆ initClass()

static void com.jogamp.opengl.test.junit.newt.mm.TestScreenMode01dNEWT.initClass ( )
static

Definition at line 79 of file TestScreenMode01dNEWT.java.

Here is the call graph for this function:

◆ main()

static void com.jogamp.opengl.test.junit.newt.mm.TestScreenMode01dNEWT.main ( final String  args[]) throws IOException
static

Definition at line 421 of file TestScreenMode01dNEWT.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ releaseClass()

static void com.jogamp.opengl.test.junit.newt.mm.TestScreenMode01dNEWT.releaseClass ( ) throws InterruptedException
static

Definition at line 87 of file TestScreenMode01dNEWT.java.

◆ test01FullscreenChange01()

void com.jogamp.opengl.test.junit.newt.mm.TestScreenMode01dNEWT.test01FullscreenChange01 ( ) throws InterruptedException

Definition at line 150 of file TestScreenMode01dNEWT.java.

Here is the call graph for this function:

◆ test02ScreenModeChange01()

void com.jogamp.opengl.test.junit.newt.mm.TestScreenMode01dNEWT.test02ScreenModeChange01 ( ) throws InterruptedException

Definition at line 200 of file TestScreenMode01dNEWT.java.

Here is the call graph for this function:

◆ test03ScreenModeChangeWithFS01Post()

void com.jogamp.opengl.test.junit.newt.mm.TestScreenMode01dNEWT.test03ScreenModeChangeWithFS01Post ( ) throws InterruptedException

Definition at line 291 of file TestScreenMode01dNEWT.java.

◆ test04ScreenModeChangeWithFS01Pre()

void com.jogamp.opengl.test.junit.newt.mm.TestScreenMode01dNEWT.test04ScreenModeChangeWithFS01Pre ( ) throws InterruptedException

Definition at line 297 of file TestScreenMode01dNEWT.java.

◆ testScreenModeChangeWithFS01Impl()

void com.jogamp.opengl.test.junit.newt.mm.TestScreenMode01dNEWT.testScreenModeChangeWithFS01Impl ( final boolean  preFS) throws InterruptedException
protected

Definition at line 302 of file TestScreenMode01dNEWT.java.

Here is the call graph for this function:

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