Create SP enabled SKPs from only the top_25_smooth page set.
authorrmistry <rmistry@google.com>
Wed, 29 Apr 2015 14:26:33 +0000 (07:26 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 29 Apr 2015 14:26:33 +0000 (07:26 -0700)
Context is here: https://code.google.com/p/skia/issues/detail?id=3763#c14

BUG=skia:3763
NOTRY=true

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

tools/skp/recreate_skps.py

index ad3b38e..7faccb7 100644 (file)
@@ -64,10 +64,15 @@ def main(chrome_src_path, browser_executable):
 
   try:
     shell_utils.run(webpages_playback_cmd)
+
     # Temporary change to enable Slimming Paint runs. See skia:3763.
+    chromium_page_sets_path = os.path.join(
+        chrome_src_path, 'tools', 'perf', 'page_sets')
     webpages_playback_cmd.extend([
         '--skp_prefix', 'sp_',
         '--browser_extra_args', '--enable-slimming-paint',
+        '--page_sets', '%s' % (
+            os.path.join(chromium_page_sets_path, 'top_25_smooth.py'))
     ])
     shell_utils.run(webpages_playback_cmd)
   finally: