public static void main(final String args[]) { for (int i = 0; i < args.length; i++) { if (args[i].equals("-time")) { i++; duration = MiscUtils.atol(args[i], duration); } else if (args[i].equals("-test")) { i++; testNum = MiscUtils.atoi(args[i], 0); } else if (args[i].equals("-noresize")) { rwsize = null; } else if (args[i].equals("-es2")) { forceES2 = true; } else if (args[i].equals("-gl3")) { forceGL3 = true; } else if (args[i].equals("-vsync")) { i++; swapInterval = MiscUtils.atoi(args[i], swapInterval); } } System.err.println("resize " + rwsize); System.err.println("forceES2 " + forceES2); System.err.println("forceGL3 " + forceGL3); System.err.println("swapInterval " + swapInterval); org.junit.runner.JUnitCore.main(TestBug816OSXCALayerPos01AWT.class.getName()); }
public static void main(String args[]) throws IOException { for (int i = 0; i < args.length; i++) { if (args[i].equals("-time")) { i++; duration = MiscUtils.atol(args[i], duration); } } org.junit.runner.JUnitCore.main(TestTGATextureFromFileNEWT.class.getName()); }
public static void main(final String args[]) throws IOException { for (int i = 0; i < args.length; i++) { if (args[i].equals("-time")) { i++; duration = MiscUtils.atol(args[i], duration); } } org.junit.runner.JUnitCore.main(TestTessellationShader01GL4NEWT.class.getName()); }
public static void main(String[] args) { for (int i = 0; i < args.length; i++) { if (args[i].equals("-time")) { i++; duration = MiscUtils.atol(args[i], duration); } else if (args[i].equals("-keyFrame")) { keyFrame = true; } else if (args[i].equals("-noSnapshot")) { doSnapshot = false; } } org.junit.runner.JUnitCore.main(TestGLReadBuffer01GLCanvasAWT.class.getName()); }
public static void main(final String args[]) { for (int i = 0; i < args.length; i++) { if (args[i].equals("-time")) { i++; duration = MiscUtils.atol(args[i], duration); } else if (args[i].equals("-noanim")) { useAnimator = false; } else if (args[i].equals("-noresize")) { doResizeTest = false; } } System.err.println("useAnimator " + useAnimator); org.junit.runner.JUnitCore.main(TestGearsNewtAWTWrapper.class.getName()); }
public static void main(final String args[]) { int w = 640, h = 480, rw = -1, rh = -1; for (int i = 0; i < args.length; i++) { if (args[i].equals("-time")) { i++; duration = MiscUtils.atol(args[i], duration); } else if (args[i].equals("-es2")) { forceES2 = true; } else if (args[i].equals("-es3")) { forceES3 = true; } else if (args[i].equals("-gl3")) { forceGL3 = true; } else if (args[i].equals("-glFFP")) { forceGLFFP = true; } else if (args[i].equals("-width")) { i++; w = MiscUtils.atoi(args[i], w); } else if (args[i].equals("-height")) { i++; h = MiscUtils.atoi(args[i], h); } else if (args[i].equals("-x")) { i++; xpos = MiscUtils.atoi(args[i], xpos); } else if (args[i].equals("-y")) { i++; ypos = MiscUtils.atoi(args[i], ypos); } else if (args[i].equals("-rwidth")) { i++; rw = MiscUtils.atoi(args[i], rw); } else if (args[i].equals("-rheight")) { i++; rh = MiscUtils.atoi(args[i], rh); } else if (args[i].equals("-pixelScale")) { i++; final float pS = MiscUtils.atof(args[i], reqSurfacePixelScale[0]); reqSurfacePixelScale[0] = pS; reqSurfacePixelScale[1] = pS; } else if (args[i].equals("-userVFlip")) { skipGLOrientationVerticalFlip = true; } else if (args[i].equals("-vsync")) { i++; swapInterval = MiscUtils.atoi(args[i], swapInterval); } else if (args[i].equals("-msaa")) { i++; useMSAA = true; msaaNumSamples = MiscUtils.atoi(args[i], msaaNumSamples); } else if (args[i].equals("-noanim")) { useAnimator = false; } else if (args[i].equals("-pbuffer")) { shallUsePBuffer = true; } else if (args[i].equals("-bitmap")) { shallUseBitmap = true; } else if (args[i].equals("-manual")) { manualTest = true; } else if (args[i].equals("-demo")) { i++; demoType = MiscUtils.atoi(args[i], 0); } } wsize = new Dimension(w, h); if (0 < rw && 0 < rh) { rwsize = new Dimension(rw, rh); } System.err.println("size " + wsize); System.err.println("resize " + rwsize); System.err.println("userVFlip " + skipGLOrientationVerticalFlip); System.err.println("swapInterval " + swapInterval); System.err.println("forceES2 " + forceES2); System.err.println("forceGL3 " + forceGL3); System.err.println("forceGLFFP " + forceGLFFP); System.err.println("useMSAA " + useMSAA + ", msaaNumSamples " + msaaNumSamples); System.err.println("useAnimator " + useAnimator); System.err.println("shallUsePBuffer " + shallUsePBuffer); System.err.println("shallUseBitmap " + shallUseBitmap); System.err.println("manualTest " + manualTest); System.err.println("demoType " + demoType); org.junit.runner.JUnitCore.main(TestGearsES2GLJPanelAWT.class.getName()); }