Test msaa on bots using dm. 4 samples for Android, 16 elsewhere
authorbsalomon <bsalomon@google.com>
Fri, 27 Feb 2015 18:13:36 +0000 (10:13 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 27 Feb 2015 18:13:36 +0000 (10:13 -0800)
Review URL: https://codereview.chromium.org/958033004

tools/dm_flags.json
tools/dm_flags.py

index c90f50e..819ebf7 100644 (file)
@@ -4,6 +4,7 @@
     "565", 
     "8888", 
     "gpu", 
+    "msaa4", 
     "nvprmsaa4", 
     "serialize-8888", 
     "tiles_rt-8888", 
@@ -44,6 +45,7 @@
     "565", 
     "8888", 
     "gpu", 
+    "msaa4", 
     "nvprmsaa4", 
     "--blacklist", 
     "gpu", 
@@ -80,7 +82,8 @@
     "565", 
     "8888", 
     "gpu", 
-    "nvprmsaa4", 
+    "msaa16", 
+    "nvprmsaa16", 
     "serialize-8888", 
     "tiles_rt-8888", 
     "pipe-8888", 
     "565", 
     "8888", 
     "gpu", 
-    "nvprmsaa4", 
+    "msaa16", 
+    "nvprmsaa16", 
     "serialize-8888", 
     "tiles_rt-8888", 
     "pipe-8888", 
     "565", 
     "8888", 
     "gpu", 
-    "nvprmsaa4", 
+    "msaa16", 
+    "nvprmsaa16", 
     "serialize-8888", 
     "tiles_rt-8888", 
     "pipe-8888", 
index 985a62a..a7ed8ca 100755 (executable)
@@ -22,7 +22,16 @@ cov_start = lineno()+1   # We care about coverage starting just past this def.
 def get_args(bot):
   args = []
 
-  configs = ['565', '8888', 'gpu', 'nvprmsaa4']
+  configs = ['565', '8888', 'gpu']
+  # 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:
+      configs.extend(['msaa4', 'nvprmsaa4'])
+    else:
+      configs.extend(['msaa16', 'nvprmsaa16'])
+
   # Xoom and NP are running out of RAM when we run all these modes.  skia:3255
   if ('Xoom'        not in bot and
       'NexusPlayer' not in bot):