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

Side by Side Diff: tools/dm_flags.py

Issue 2182783004: Add test configs for instanced rendering (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add test configs for instanced rendering Created 4 years, 4 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') | tools/flags/SkCommonFlagsConfig.h » ('j') | 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 configs.extend(mode + '-8888' for mode in 83 configs.extend(mode + '-8888' for mode in
84 ['serialize', 'tiles_rt', 'pic']) 84 ['serialize', 'tiles_rt', 'pic'])
85 85
86 if 'ANGLE' in bot: 86 if 'ANGLE' in bot:
87 configs.append('angle') 87 configs.append('angle')
88 88
89 # We want to run gpudft on atleast the mali 400 89 # We want to run gpudft on atleast the mali 400
90 if 'GalaxyS3' in bot: 90 if 'GalaxyS3' in bot:
91 configs.append('gpudft') 91 configs.append('gpudft')
92 92
93 # Test instanced rendering on a limited number of platforms
94 if 'Nexus6' in bot:
95 configs.append('esinst') # esinst4 isn't working yet on Adreno.
96 elif 'TegraX1' in bot:
97 # Multisampled instanced configs use nvpr.
98 configs = [x.replace('glnvpr', 'glinst') for x in configs]
99 configs.append('glinst')
100 elif 'MacMini6.2' in bot:
101 configs.extend(['glinst', 'glinst16'])
102
93 # CommandBuffer bot *only* runs the command_buffer config. 103 # CommandBuffer bot *only* runs the command_buffer config.
94 if 'CommandBuffer' in bot: 104 if 'CommandBuffer' in bot:
95 configs = ['commandbuffer'] 105 configs = ['commandbuffer']
96 106
97 # Vulkan bot *only* runs the vk config. 107 # Vulkan bot *only* runs the vk config.
98 if 'Vulkan' in bot: 108 if 'Vulkan' in bot:
99 configs = ['vk'] 109 configs = ['vk']
100 110
101 args.append('--config') 111 args.append('--config')
102 args.extend(configs) 112 args.extend(configs)
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 293
284 294
285 def self_test(): 295 def self_test():
286 import coverage # This way the bots don't need coverage.py to be installed. 296 import coverage # This way the bots don't need coverage.py to be installed.
287 args = {} 297 args = {}
288 cases = [ 298 cases = [
289 'Pretend-iOS-Bot', 299 'Pretend-iOS-Bot',
290 'Test-Android-GCC-AndroidOne-GPU-Mali400MP2-Arm7-Release', 300 'Test-Android-GCC-AndroidOne-GPU-Mali400MP2-Arm7-Release',
291 'Test-Android-GCC-GalaxyS3-GPU-Mali400-Arm7-Debug', 301 'Test-Android-GCC-GalaxyS3-GPU-Mali400-Arm7-Debug',
292 'Test-Android-GCC-GalaxyS4-GPU-SGX544-Arm7-Release', 302 'Test-Android-GCC-GalaxyS4-GPU-SGX544-Arm7-Release',
303 'Test-Android-GCC-Nexus6-GPU-Adreno420-Arm7-Debug',
293 'Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Release', 304 'Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Release',
294 'Test-Android-GCC-Nexus9-GPU-TegraK1-Arm64-Debug', 305 'Test-Android-GCC-Nexus9-GPU-TegraK1-Arm64-Debug',
295 'Test-Android-GCC-Nexus10-GPU-MaliT604-Arm7-Debug', 306 'Test-Android-GCC-Nexus10-GPU-MaliT604-Arm7-Debug',
296 'Test-Android-GCC-NexusPlayer-CPU-SSSE3-x86-Release', 307 'Test-Android-GCC-NexusPlayer-CPU-SSSE3-x86-Release',
297 'Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Release', 308 'Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Release',
298 'Test-Mac-Clang-MacMini4.1-GPU-GeForce320M-x86_64-Release', 309 'Test-Mac-Clang-MacMini4.1-GPU-GeForce320M-x86_64-Release',
299 'Test-Mac-Clang-MacMini6.2-GPU-HD4000-x86_64-Debug-CommandBuffer', 310 'Test-Mac-Clang-MacMini6.2-GPU-HD4000-x86_64-Debug-CommandBuffer',
311 'Test-Mac-Clang-MacMini6.2-GPU-HD4000-x86_64-Debug',
300 'Test-Mac10.8-Clang-MacMini4.1-CPU-SSE4-x86_64-Release', 312 'Test-Mac10.8-Clang-MacMini4.1-CPU-SSE4-x86_64-Release',
301 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-MSAN', 313 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-MSAN',
302 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN', 314 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN',
303 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Valgrind', 315 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Valgrind',
304 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind', 316 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind',
305 'Test-Win-MSVC-GCE-CPU-AVX2-x86_64-Debug', 317 'Test-Win-MSVC-GCE-CPU-AVX2-x86_64-Debug',
306 'Test-Win10-MSVC-ShuttleA-GPU-GTX660-x86_64-Debug-Vulkan', 318 'Test-Win10-MSVC-ShuttleA-GPU-GTX660-x86_64-Debug-Vulkan',
307 'Test-Win7-MSVC-ShuttleA-GPU-HD2000-x86-Debug-ANGLE', 319 'Test-Win7-MSVC-ShuttleA-GPU-HD2000-x86-Debug-ANGLE',
308 'Test-Win8-MSVC-GCE-CPU-AVX2-x86_64-Debug', 320 'Test-Win8-MSVC-GCE-CPU-AVX2-x86_64-Debug',
309 ] 321 ]
(...skipping 20 matching lines...) Expand all
330 if len(sys.argv) == 2 and sys.argv[1] == 'test': 342 if len(sys.argv) == 2 and sys.argv[1] == 'test':
331 self_test() 343 self_test()
332 sys.exit(0) 344 sys.exit(0)
333 345
334 if len(sys.argv) != 3: 346 if len(sys.argv) != 3:
335 print usage 347 print usage
336 sys.exit(1) 348 sys.exit(1)
337 349
338 with open(sys.argv[1], 'w') as out: 350 with open(sys.argv[1], 'w') as out:
339 json.dump(get_args(sys.argv[2]), out) 351 json.dump(get_args(sys.argv[2]), out)
OLDNEW
« no previous file with comments | « tools/dm_flags.json ('k') | tools/flags/SkCommonFlagsConfig.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698