diff options
author | Sven Gothel <[email protected]> | 2010-05-11 04:35:34 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-05-11 04:35:34 +0200 |
commit | 3ab87cbbad28b9f90bb83981aab73ccf478dc929 (patch) | |
tree | 3de32576eede37cba59b4ccce4814d0cd7781683 /src/junit | |
parent | 6798fc1fb008eff4179f64775a7bf33cfbfd1981 (diff) |
Missing comment for last commit 6798fc1fb008eff4179f64775a7bf33cfbfd1981:
- zip Javadocs, moved to build* dir
- re-enable WGL ARB GetContext (buggy)
- relaxed junit tests:
src/junit/com/jogamp/test/junit/jogl/awt/TestAWT01GLn.java
- GL3bc/GL4bc + AWT doesn't work with ATI currently, driver bug
src/junit/com/jogamp/test/junit/jogl/offscreen/TestOffscreen01NEWT.java
- All test cases, ie pbuffer detection may fail, no pixmap detection
- Fix Windows ARG CreateContext
- GLContext
- GLVersion mapping functions: use profile bit
- Fix isGL*() queries { compat|core, ..}
- Pass through the profile bit (COMPAT, CORE, ES), only one can be set
- GLProfile
- glAvailabilityToString() add the queried HW Context info
-
Diffstat (limited to 'src/junit')
-rwxr-xr-x | src/junit/com/jogamp/test/junit/jogl/awt/TestAWT01GLn.java | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/junit/com/jogamp/test/junit/jogl/awt/TestAWT01GLn.java b/src/junit/com/jogamp/test/junit/jogl/awt/TestAWT01GLn.java index 742b8d5e8..1652acd82 100755 --- a/src/junit/com/jogamp/test/junit/jogl/awt/TestAWT01GLn.java +++ b/src/junit/com/jogamp/test/junit/jogl/awt/TestAWT01GLn.java @@ -43,6 +43,7 @@ import java.awt.Frame; import org.junit.Assert; import org.junit.Assume; import org.junit.Before; +import org.junit.BeforeClass; import org.junit.After; import org.junit.Test; @@ -50,6 +51,11 @@ public class TestAWT01GLn { Frame frame=null; GLCanvas glCanvas=null; + @BeforeClass + public static void startup() { + System.out.println("GLProfile <static> "+GLProfile.glAvailabilityToString()); + } + @Before public void init() { frame = new Frame("Texture Test"); @@ -93,13 +99,16 @@ public class TestAWT01GLn { @Test public void test01GLDefault() throws InterruptedException { - GLCapabilities caps = new GLCapabilities(GLProfile.getDefault()); + GLProfile glp = GLProfile.getDefault(); + System.out.println("GLProfile Default: "+glp); + GLCapabilities caps = new GLCapabilities(glp); runTestGL(caps); } @Test public void test03GLMaxFixed() throws InterruptedException { GLProfile maxFixed = GLProfile.getMaxFixedFunc(); + System.out.println("GLProfile MaxFixed: "+maxFixed); GLCapabilities caps = new GLCapabilities(maxFixed); try { runTestGL(caps); |