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

Tests that a basic SWT app can open without crashing under different GL profiles. More...

Inheritance diagram for com.jogamp.opengl.test.junit.jogl.swt.TestSWTEclipseGLCanvas01GLn:
Collaboration diagram for com.jogamp.opengl.test.junit.jogl.swt.TestSWTEclipseGLCanvas01GLn:

Public Member Functions

void init ()
 
void release ()
 
void test () 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 startup ()
 
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

void runTestAGL (final GLProfile glprofile) throws InterruptedException
 

Detailed Description

Tests that a basic SWT app can open without crashing under different GL profiles.

Uses the SWT GLCanvas org.eclipse.swt.opengl.GLCanvas.

Author
Wade Walker, et.al.

Definition at line 71 of file TestSWTEclipseGLCanvas01GLn.java.

Member Function Documentation

◆ init()

void com.jogamp.opengl.test.junit.jogl.swt.TestSWTEclipseGLCanvas01GLn.init ( )

Definition at line 91 of file TestSWTEclipseGLCanvas01GLn.java.

Here is the call graph for this function:

◆ main()

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

Definition at line 224 of file TestSWTEclipseGLCanvas01GLn.java.

◆ release()

void com.jogamp.opengl.test.junit.jogl.swt.TestSWTEclipseGLCanvas01GLn.release ( )

Definition at line 110 of file TestSWTEclipseGLCanvas01GLn.java.

Here is the call graph for this function:

◆ runTestAGL()

void com.jogamp.opengl.test.junit.jogl.swt.TestSWTEclipseGLCanvas01GLn.runTestAGL ( final GLProfile  glprofile) throws InterruptedException
protected

Definition at line 135 of file TestSWTEclipseGLCanvas01GLn.java.

Here is the call graph for this function:

◆ startup()

static void com.jogamp.opengl.test.junit.jogl.swt.TestSWTEclipseGLCanvas01GLn.startup ( )
static

Definition at line 86 of file TestSWTEclipseGLCanvas01GLn.java.

Here is the call graph for this function:

◆ test()

void com.jogamp.opengl.test.junit.jogl.swt.TestSWTEclipseGLCanvas01GLn.test ( ) throws InterruptedException

Definition at line 211 of file TestSWTEclipseGLCanvas01GLn.java.

Here is the call graph for this function:

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