Add msaa runs to nanobench
authorbsalomon <bsalomon@google.com>
Sun, 1 Mar 2015 00:56:31 +0000 (16:56 -0800)
committerCommit bot <commit-bot@chromium.org>
Sun, 1 Mar 2015 00:56:31 +0000 (16:56 -0800)
TBR=mtklein@google.com

Review URL: https://codereview.chromium.org/964053002

tools/nanobench_flags.json
tools/nanobench_flags.py

index 2a8f9c8..2317123 100644 (file)
@@ -3,6 +3,15 @@
     "--scales", 
     "1.0", 
     "1.1", 
+    "--config", 
+    "565", 
+    "8888", 
+    "gpu", 
+    "nonrendering", 
+    "angle", 
+    "hwui", 
+    "msaa4", 
+    "nvprmsaa4", 
     "--match", 
     "~blurroundrect", 
     "~patch_grid", 
     "--scales", 
     "1.0", 
     "1.1", 
+    "--config", 
+    "565", 
+    "8888", 
+    "gpu", 
+    "nonrendering", 
+    "angle", 
+    "hwui", 
+    "msaa4", 
+    "nvprmsaa4", 
     "--match", 
     "skp"
   ], 
     "--scales", 
     "1.0", 
     "1.1", 
+    "--config", 
+    "565", 
+    "8888", 
+    "gpu", 
+    "nonrendering", 
+    "angle", 
+    "hwui", 
+    "msaa16", 
+    "nvprmsaa16", 
     "--loops", 
     "1", 
     "--samples", 
     "--scales", 
     "1.0", 
     "1.1", 
+    "--config", 
+    "565", 
+    "8888", 
+    "gpu", 
+    "nonrendering", 
+    "angle", 
+    "hwui", 
+    "msaa16", 
+    "nvprmsaa16", 
     "--match", 
     "~gradient", 
     "~etc1bitmap"
index 18668c9..cb862a6 100755 (executable)
@@ -24,6 +24,18 @@ def get_args(bot):
 
   args.extend(['--scales', '1.0', '1.1'])
 
+  config = ['565', '8888', 'gpu', 'nonrendering', 'angle', 'hwui']
+  # The S4 crashes and the NP produces a long error stream when we run with
+  # MSAA.
+  if ('GalaxyS4'    not in bot and
+      'NexusPlayer' not in bot):
+    if 'Android' in bot:
+      config.extend(['msaa4', 'nvprmsaa4'])
+    else:
+      config.extend(['msaa16', 'nvprmsaa16'])
+  args.append('--config')
+  args.extend(config)
+
   if 'Valgrind' in bot:
     # Don't care about Valgrind performance.
     args.extend(['--loops',   '1'])
@@ -42,6 +54,7 @@ def get_args(bot):
   if match:
     args.append('--match')
     args.extend(match)
+  
 
   if ('GalaxyS3' in bot or
       'GalaxyS4' in bot):