Switch bots to use ViaDDL (i.e., ddl-gl) instead of old --ddl flag

Change-Id: I9c5f27bacf7d9fa7a9ac123379e2556913810cba
Reviewed-on: https://skia-review.googlesource.com/116464
Reviewed-by: Eric Boren <borenet@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
This commit is contained in:
Robert Phillips 2018-03-27 08:54:55 -04:00 committed by Skia Commit-Bot
parent 094fba9cd6
commit d234c9e6b9
3 changed files with 30 additions and 11 deletions

View File

@ -230,8 +230,8 @@
"pdf",
"--randomProcessorTest",
"--nocpu",
"--ddl",
"1",
"--skpViewportSize",
"2048",
"--config",
"gl",
"--src",

View File

@ -230,11 +230,12 @@
"pdf",
"--randomProcessorTest",
"--nocpu",
"--ddl",
"3",
"--skpViewportSize",
"2048",
"--config",
"gl",
"ddl-gl",
"--src",
"gm",
"skp",
"--blacklist",
"gl1010102",
@ -337,6 +338,10 @@
"image",
"_",
".SRW",
"--match",
"~shadermaskfilter_image",
"~imagefilterscropped",
"~animated-image-blurs",
"--nonativeFonts",
"--verbose"
],

View File

@ -239,11 +239,13 @@ def dm_flags(api, bot):
# DDL is a GPU-only feature
if 'DDL1' in bot:
configs = [c for c in configs if c == 'gl' or c == 'gles']
args.extend(['--ddl', "1"])
# Just run gl for now but render the large skps
configs = ['gl']
args.extend(['--skpViewportSize', "2048"])
if 'DDL3' in bot:
configs = [c for c in configs if c == 'gl' or c == 'gles']
args.extend(['--ddl', "3"])
# Just run ddl-gl for now but render the large skps
configs = ['ddl-gl']
args.extend(['--skpViewportSize', "2048"])
tf = api.vars.builder_cfg.get('test_filter')
if 'All' != tf:
@ -278,14 +280,21 @@ def dm_flags(api, bot):
args.remove('image')
args.remove('colorImage')
# For now it only renders the skps (i.e., no tests, no gms)
if 'DDL1' in bot or 'DDL3' in bot:
if 'DDL1' in bot:
# The DDL1 bot just renders large skp images as a baseline for full DDL
args.remove('tests')
args.remove('gm')
args.remove('image')
args.remove('colorImage')
args.remove('svg')
elif 'DDL3' in bot:
# The DDL3 bot renders large skps and gms in full DDL mode
args.remove('tests')
args.remove('image')
args.remove('colorImage')
args.remove('svg')
else:
# Currently, only the DDL bots render skps
args.remove('skp')
# TODO: ???
@ -550,6 +559,11 @@ def dm_flags(api, bot):
match.append('~WritePixels') # skia:4711
match.append('~PremulAlphaRoundTrip_Gpu') # skia:7501
if 'DDL3' in bot:
match.append('~shadermaskfilter_image') # skia:7751
match.append('~imagefilterscropped') # skia:7751
match.append('~animated-image-blurs') # skia:7751
if 'Chromecast' in bot:
if 'GPU' in bot:
# skia:6687