Index: tools/lua/paths_agg.lua |
diff --git a/tools/lua/paths_agg.lua b/tools/lua/paths_agg.lua |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b996a114a286e25f0bbe6ddf528f56861c951426 |
--- /dev/null |
+++ b/tools/lua/paths_agg.lua |
@@ -0,0 +1,13 @@ |
+ |
+draws = 0; |
+drawPaths = 0; |
+swPaths = 0; |
+ |
+dofile("/tmp/lua-output") |
+ |
+io.write("Number of draws: ", draws, "\n"); |
+io.write("Number of paths: ", drawPaths, "\n"); |
+io.write("Number of concave, anti-aliased paths: ", swPaths, "\n"); |
+ |
+io.write("Percentage of paths needing software: ", (100* (swPaths / drawPaths)), "\n") |
+io.write("Percentage of draws needing software: ", (100* (swPaths / draws)), "\n") |