Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: tools/dm_flags.py

Issue 1239953004: Allow Srcs to veto Sinks based on their broad type. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: scroggo Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/dm_flags.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 1 #
2 # Copyright 2015 Google Inc. 2 # Copyright 2015 Google Inc.
3 # 3 #
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 # 6 #
7 7
8 #!/usr/bin/env python 8 #!/usr/bin/env python
9 9
10 usage = ''' 10 usage = '''
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 if 'GPU' in bot: 74 if 'GPU' in bot:
75 args.extend('--src tests gm'.split(' ')) 75 args.extend('--src tests gm'.split(' '))
76 else: 76 else:
77 args.extend('--src tests gm image'.split(' ')) 77 args.extend('--src tests gm image'.split(' '))
78 78
79 if 'GalaxyS' in bot: 79 if 'GalaxyS' in bot:
80 args.extend(('--threads', '0')) 80 args.extend(('--threads', '0'))
81 81
82 blacklist = [] 82 blacklist = []
83 83
84 # We do not draw image sources on msaa anyway, so avoid the creation of
85 # large canvases. skbug.com/4045
86 blacklist.extend('msaa image _ _'.split(' '))
87
88 # This image is too large to be a texture for many GPUs.
89 blacklist.extend('gpu _ _ PANO_20121023_214540.jpg'.split(' '))
90
91 # Several of the newest version bmps fail on SkImageDecoder 84 # Several of the newest version bmps fail on SkImageDecoder
92 blacklist.extend('_ image decode pal8os2v2.bmp'.split(' ')) 85 blacklist.extend('_ image decode pal8os2v2.bmp'.split(' '))
93 blacklist.extend('_ image decode pal8v4.bmp'.split(' ')) 86 blacklist.extend('_ image decode pal8v4.bmp'.split(' '))
94 blacklist.extend('_ image decode pal8v5.bmp'.split(' ')) 87 blacklist.extend('_ image decode pal8v5.bmp'.split(' '))
95 blacklist.extend('_ image decode rgb16-565.bmp'.split(' ')) 88 blacklist.extend('_ image decode rgb16-565.bmp'.split(' '))
96 blacklist.extend('_ image decode rgb16-565pal.bmp'.split(' ')) 89 blacklist.extend('_ image decode rgb16-565pal.bmp'.split(' '))
97 blacklist.extend('_ image decode rgb32-111110.bmp'.split(' ')) 90 blacklist.extend('_ image decode rgb32-111110.bmp'.split(' '))
98 blacklist.extend('_ image decode rgb32bf.bmp'.split(' ')) 91 blacklist.extend('_ image decode rgb32bf.bmp'.split(' '))
99 blacklist.extend('_ image decode rgba32.bmp'.split(' ')) 92 blacklist.extend('_ image decode rgba32.bmp'.split(' '))
100 blacklist.extend('_ image decode rgba32abf.bmp'.split(' ')) 93 blacklist.extend('_ image decode rgba32abf.bmp'.split(' '))
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 if len(sys.argv) == 2 and sys.argv[1] == 'test': 208 if len(sys.argv) == 2 and sys.argv[1] == 'test':
216 self_test() 209 self_test()
217 sys.exit(0) 210 sys.exit(0)
218 211
219 if len(sys.argv) != 3: 212 if len(sys.argv) != 3:
220 print usage 213 print usage
221 sys.exit(1) 214 sys.exit(1)
222 215
223 with open(sys.argv[1], 'w') as out: 216 with open(sys.argv[1], 'w') as out:
224 json.dump(get_args(sys.argv[2]), out) 217 json.dump(get_args(sys.argv[2]), out)
OLDNEW
« no previous file with comments | « tools/dm_flags.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698