summaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledPrintingNIOImageSwingAWT.java12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledPrintingNIOImageSwingAWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledPrintingNIOImageSwingAWT.java
index ad699c0f5..68c4c683f 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledPrintingNIOImageSwingAWT.java
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledPrintingNIOImageSwingAWT.java
@@ -240,11 +240,11 @@ public class TestTiledPrintingNIOImageSwingAWT extends UITestCase {
final BufferedImage image = DirectDataBufferInt.createBufferedImage(frame.getWidth(), frame.getHeight(), 4, null /* location */);
printOffscreenToFile(image, frame, caps, 1, "newio_072dpi");
}
- // paint offscreen: NIO 600dpi
+ // paint offscreen: NIO 300dpi
{
- final int scale = (int) ( 600.0 / 72.0 + 0.5 );
+ final int scale = (int) ( 300.0 / 72.0 + 0.5 );
final BufferedImage image = DirectDataBufferInt.createBufferedImage(frame.getWidth()*scale, frame.getHeight()*scale, 4, null /* location */);
- printOffscreenToFile(image, frame, caps, 2, "newio_600dpi");
+ printOffscreenToFile(image, frame, caps, 2, "newio_300dpi");
}
Assert.assertNotNull(frame);
@@ -270,6 +270,12 @@ public class TestTiledPrintingNIOImageSwingAWT extends UITestCase {
runTestGL(caps, false);
}
+ @Test
+ public void test01_Offscreen_aa0_layered() throws InterruptedException, InvocationTargetException {
+ GLCapabilities caps = new GLCapabilities(glp);
+ runTestGL(caps, true);
+ }
+
static long duration = 500; // ms
public static void main(String args[]) {