29package com.jogamp.opengl.test.junit.jogl.awt;
31import com.jogamp.opengl.GLCapabilities;
32import com.jogamp.opengl.GLCapabilitiesImmutable;
33import com.jogamp.opengl.GLProfile;
34import com.jogamp.opengl.awt.GLCanvas;
37import org.junit.FixMethodOrder;
38import org.junit.runners.MethodSorters;
40@FixMethodOrder(MethodSorters.NAME_ASCENDING)
43 public static void main(
final String[] args) {
55 System.out.println(
"ReqCaps: "+glCapsRequested);
56 System.out.println(
"GLCanvas: "+glc);
Specifies a set of OpenGL capabilities.
Specifies the the OpenGL profile.
static GLProfile getDefault(final AbstractGraphicsDevice device)
Returns a default GLProfile object, reflecting the best for the running platform.
A heavyweight AWT component which provides OpenGL rendering support.
GLCapabilitiesImmutable getRequestedGLCapabilities()
Fetches the GLCapabilitiesImmutable corresponding to the user requested OpenGL capabilities (pixel fo...
void testIncompleteGLCanvasNPE()
static void main(final String[] args)
Specifies an immutable set of OpenGL capabilities.