Fix perf configs for ANGLE bots.
authorBen Wagner <benjaminwagner@google.com>
Fri, 31 Mar 2017 19:54:47 +0000 (15:54 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Fri, 31 Mar 2017 21:04:36 +0000 (21:04 +0000)
Don't run non-ANGLE configs on ANGLE bots.

Also, stop perfing angle_gl_es2, since it's not used by Chrome. Add perfing for
ANGLE MSAA, and omit test that fails with MSAA config.

NOTRY=true
BUG=skia:6457

Change-Id: Iafe605a369e6bfddddeee3d30a538ec889eb0952
Reviewed-on: https://skia-review.googlesource.com/10968
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Ben Wagner <benjaminwagner@google.com>

infra/bots/recipe_modules/perf/api.py
infra/bots/recipe_modules/perf/example.expected/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-ANGLE.json
infra/bots/recipe_modules/perf/example.expected/Perf-Win10-MSVC-NUC-GPU-IntelIris540-x86_64-Release-ANGLE.json
infra/bots/recipe_modules/perf/example.expected/Perf-Win8-MSVC-ShuttleB-GPU-GTX960-x86_64-Debug-ANGLE.json

index d85a1b7..ccd856b 100644 (file)
@@ -73,10 +73,10 @@ def nanobench_flags(bot):
     config = ['vk']
 
   if 'ANGLE' in bot:
-    config.extend(['angle_d3d11_es2'])
-    # The GL backend of ANGLE crashes on the perf bot currently.
-    if 'Win' not in bot:
-      config.extend(['angle_gl_es2'])
+    # Test only ANGLE configs.
+    config = ['angle_d3d11_es2']
+    if sample_count is not '':
+      config.append('angle_d3d11_es2_msaa' + sample_count)
 
   args.append('--config')
   args.extend(config)
@@ -129,6 +129,8 @@ def nanobench_flags(bot):
     match.append('~text_16_LCD_WT')
   if 'Vulkan' in bot and 'NexusPlayer' in bot:
     match.append('~hardstop') # skia:6037
+  if 'ANGLE' in bot and any('msaa' in x for x in config):
+    match.append('~native_image_to_raster_surface')  # skia:6457
 
   # We do not need or want to benchmark the decodes of incomplete images.
   # In fact, in nanobench we assert that the full image decode succeeds.
index 832ac43..04dade4 100644 (file)
       "1.0",
       "1.1",
       "--config",
-      "8888",
-      "nonrendering",
-      "hwui",
-      "f16",
-      "srgb",
-      "gl",
-      "glmsaa8",
-      "glnvpr8",
-      "glnvprdit8",
       "angle_d3d11_es2",
-      "angle_gl_es2",
+      "angle_d3d11_es2_msaa8",
       "--match",
+      "~native_image_to_raster_surface",
       "~inc0.gif",
       "~inc1.gif",
       "~incInterlaced.gif",
index 38558c9..cfc972d 100644 (file)
       "1.0",
       "1.1",
       "--config",
-      "8888",
-      "nonrendering",
-      "hwui",
-      "f16",
-      "srgb",
-      "gl",
       "angle_d3d11_es2",
       "--match",
       "~tile_image_filter_tiled_64",
index 1c5a937..37db38d 100644 (file)
       "1.0",
       "1.1",
       "--config",
-      "8888",
-      "nonrendering",
-      "hwui",
-      "f16",
-      "srgb",
-      "gl",
-      "glmsaa8",
-      "glnvpr8",
-      "glnvprdit8",
       "angle_d3d11_es2",
+      "angle_d3d11_es2_msaa8",
       "--match",
+      "~native_image_to_raster_surface",
       "~inc0.gif",
       "~inc1.gif",
       "~incInterlaced.gif",