29package com.jogamp.opengl.test.junit.jogl.acore.ect;
31import com.jogamp.newt.Display;
32import com.jogamp.newt.NewtFactory;
33import com.jogamp.newt.Screen;
34import com.jogamp.newt.opengl.GLWindow;
36import com.jogamp.opengl.GLAutoDrawable;
37import com.jogamp.opengl.GLCapabilitiesImmutable;
39import org.junit.Assert;
40import org.junit.BeforeClass;
41import org.junit.AfterClass;
42import org.junit.FixMethodOrder;
43import org.junit.runners.MethodSorters;
48@FixMethodOrder(MethodSorters.NAME_ASCENDING)
77 Assert.assertNotNull(glWindow);
79 glWindow.
setSize(width, height);
86 final int count = glads.length;
87 for(
int i=0; i<count; i++) {
static Display createDisplay(final String name)
Create a Display entity.
static Screen createScreen(final Display display, final int index)
Create a Screen entity.
A screen may span multiple MonitorDevices representing their combined virtual size.
An implementation of GLAutoDrawable and Window interface, using a delegated Window instance,...
final void setPosition(final int x, final int y)
Sets the location of the window's client area excluding insets (window decorations) in window units.
final void setTitle(final String title)
final void setSize(final int width, final int height)
Sets the size of the window's client area in window units, excluding decorations.
static GLWindow create(final GLCapabilitiesImmutable caps)
Creates a new GLWindow attaching a new Window referencing a new default Screen and default Display wi...
ExclusiveContextThread base implementation to test correctness of the ExclusiveContext feature and An...
static void initClass00NEWT()
Thread getAWTRenderThread()
void setGLAutoDrawableVisible(final GLAutoDrawable[] glads)
GLAutoDrawable createGLAutoDrawable(final String title, final int x, final int y, final int width, final int height, final GLCapabilitiesImmutable caps)
void destroyGLAutoDrawableVisible(final GLAutoDrawable glad)
static void releaseClass00NEWT()
ExclusiveContextThread base implementation to test correctness of the ExclusiveContext feature and An...
A higher-level abstraction than GLDrawable which supplies an event based mechanism (GLEventListener) ...
Specifies an immutable set of OpenGL capabilities.