29package com.jogamp.opengl.test.junit.jogl.acore;
31import java.io.IOException;
33import com.jogamp.nativewindow.AbstractGraphicsDevice;
34import com.jogamp.opengl.GLCapabilities;
35import com.jogamp.opengl.GLCapabilitiesImmutable;
36import com.jogamp.opengl.GLProfile;
38import org.junit.Assert;
39import org.junit.FixMethodOrder;
41import org.junit.runners.MethodSorters;
47@FixMethodOrder(MethodSorters.NAME_ASCENDING)
53 System.out.println(
"GLProfile.getDefault(): "+glp);
57 System.out.println(
"GLProfile.getDefaultDevice(): "+gd);
58 System.out.println(
"GLProfile.getDefault(gd): "+glp2);
59 Assert.assertEquals(glp, glp2);
64 validateOnlineOffscreen(
"default", caps);
67 public static void main(
final String args[])
throws IOException {
69 org.junit.runner.JUnitCore.
main(tstname);
Specifies a set of OpenGL capabilities.
Specifies the the OpenGL profile.
static String glAvailabilityToString(final AbstractGraphicsDevice device)
static GLProfile getDefault(final AbstractGraphicsDevice device)
Returns a default GLProfile object, reflecting the best for the running platform.
static AbstractGraphicsDevice getDefaultDevice()
Simply re-test w/o any properties after TestGLProfile*NoARBCtx to be sure follow-up unit tests are te...
static void main(final String args[])
void test01GLProfileDefault()
A interface describing a graphics device in a toolkit-independent manner.
Specifies an immutable set of OpenGL capabilities.