Skip to content

Commit

Permalink
TestTiledPrintingGearsSwingAWT: Enable 'bitmap' test only on Windows,…
Browse files Browse the repository at this point in the history
… issues w/ AMD catalyst driver and pixmap surface ..
  • Loading branch information
sgothel committed Sep 19, 2013
1 parent 99e303b commit 5822557
Showing 1 changed file with 12 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
import org.junit.Test;
import org.junit.runners.MethodSorters;

import com.jogamp.common.os.Platform;
import com.jogamp.newt.event.TraceKeyAdapter;
import com.jogamp.newt.event.TraceWindowAdapter;
import com.jogamp.newt.event.awt.AWTKeyAdapter;
Expand Down Expand Up @@ -274,17 +275,21 @@ public void test01_aa0_layered() throws InterruptedException, InvocationTargetEx

@Test
public void test01_aa0_bitmap() throws InterruptedException, InvocationTargetException {
GLCapabilities caps = new GLCapabilities(glp);
caps.setBitmap(true);
runTestGL(caps, false);
if( Platform.OSType.WINDOWS == Platform.getOSType() ) {
GLCapabilities caps = new GLCapabilities(glp);
caps.setBitmap(true);
runTestGL(caps, false);
} // issues w/ AMD catalyst driver and pixmap surface ..
}

@Test
public void test01_aa0_bitmap_layered() throws InterruptedException, InvocationTargetException {
GLCapabilities caps = new GLCapabilities(glp);
caps.setBitmap(true);
caps.setAlphaBits(8);
runTestGL(caps, true);
if( Platform.OSType.WINDOWS == Platform.getOSType() ) {
GLCapabilities caps = new GLCapabilities(glp);
caps.setBitmap(true);
caps.setAlphaBits(8);
runTestGL(caps, true);
} // issues w/ AMD catalyst driver and pixmap surface ..
}

@Test
Expand Down

0 comments on commit 5822557

Please sign in to comment.