Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Side by Side Diff: tools/lua/paths_agg.lua

Issue 475433004: Add scraper to find paths that fallback to software (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« tools/lua/paths.lua ('K') | « tools/lua/paths.lua ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1
2 draws = 0;
3 drawPaths = 0;
4 swPaths = 0;
5
6 dofile("/tmp/lua-output")
7
8 io.write("Number of draws: ", draws, "\n");
9 io.write("Number of paths: ", drawPaths, "\n");
10 io.write("Number of concave, anti-aliased paths: ", swPaths, "\n");
11
12 io.write("Percentage of paths needing software: ", (100* (swPaths / drawPaths)), "\n")
13 io.write("Percentage of draws needing software: ", (100* (swPaths / draws)), "\n ")
OLDNEW
« tools/lua/paths.lua ('K') | « tools/lua/paths.lua ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698