changeset 4896:bf594c19a7a6

Change BenchBase to use the iPad resolution, and also exit on completion.
author rbair
date Fri, 30 Aug 2013 09:58:50 -0700
parents 8b9ed2be92ac
children aec474945f1c
files apps/performance/GraphicsPerformance/src/main/java/nodecount/BenchBase.java
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/apps/performance/GraphicsPerformance/src/main/java/nodecount/BenchBase.java	Fri Aug 30 12:22:07 2013 -0400
+++ b/apps/performance/GraphicsPerformance/src/main/java/nodecount/BenchBase.java	Fri Aug 30 09:58:50 2013 -0700
@@ -35,6 +35,7 @@
 import javafx.animation.Animation;
 import javafx.animation.AnimationTimer;
 import javafx.application.Application;
+import javafx.application.Platform;
 import javafx.event.ActionEvent;
 import javafx.event.EventHandler;
 import javafx.scene.Group;
@@ -51,8 +52,7 @@
 
     @Override
     public void start(Stage stage) throws Exception {
-
-        Scene scene = new Scene(new Group(), 640, 480);
+        Scene scene = new Scene(new Group(), 1024, 768);
         stage.setScene(scene);
         stage.show();
 
@@ -118,6 +118,7 @@
     private void runTest(Scene scene, BenchTest[] tests, int index) {
         if (index >= tests.length) {
             printResults(tests);
+            Platform.exit();
             return; // we're done.
         }