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

Side by Side Diff: tools/dm_flags.py

Issue 1857233002: Revert of Add predfined configs for msaa4, nvpr4, nvpr4dit, and srgb that explictly use OpenGL rather than GL… (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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.cpp » ('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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 if '-TSAN' not in bot: 43 if '-TSAN' not in bot:
44 if ('TegraK1' in bot or 44 if ('TegraK1' in bot or
45 'GTX550Ti' in bot or 45 'GTX550Ti' in bot or
46 'GTX660' in bot or 46 'GTX660' in bot or
47 'GT610' in bot): 47 'GT610' in bot):
48 if 'Android' in bot: 48 if 'Android' in bot:
49 configs.append('nvprdit4') 49 configs.append('nvprdit4')
50 else: 50 else:
51 configs.append('nvprdit16') 51 configs.append('nvprdit16')
52 52
53 # We want to test the OpenGL config not the GLES config on the X1
54 if 'TegraX1' in bot:
55 configs.remove('gpu')
56 configs.remove('gpusrgb')
57 configs.append('gl')
58 configs.append('glsrgb')
59
60 # The S4 crashes and the NP produces a long error stream when we run with 53 # The S4 crashes and the NP produces a long error stream when we run with
61 # MSAA. The Tegra2 and Tegra3 just don't support it. 54 # MSAA. The Tegra2 and Tegra3 just don't support it.
62 if ('GalaxyS4' not in bot and 55 if ('GalaxyS4' not in bot and
63 'NexusPlayer' not in bot and 56 'NexusPlayer' not in bot and
64 'Tegra3' not in bot and 57 'Tegra3' not in bot and
65 'iOS' not in bot): 58 'iOS' not in bot):
66 if 'Android' in bot: 59 if 'Android' in bot:
67 configs.append('msaa4') 60 configs.append('msaa4')
68 else: 61 else:
69 configs.append('msaa16') 62 configs.append('msaa16')
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 'Test-Android-GCC-GalaxyS4-GPU-SGX544-Arm7-Release', 254 'Test-Android-GCC-GalaxyS4-GPU-SGX544-Arm7-Release',
262 'Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Release', 255 'Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Release',
263 'Test-Android-GCC-NexusPlayer-CPU-SSSE3-x86-Release', 256 'Test-Android-GCC-NexusPlayer-CPU-SSSE3-x86-Release',
264 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind', 257 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind',
265 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-MSAN', 258 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-MSAN',
266 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN', 259 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN',
267 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Valgrind', 260 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Valgrind',
268 'Test-Win7-MSVC-ShuttleA-GPU-HD2000-x86-Debug-ANGLE', 261 'Test-Win7-MSVC-ShuttleA-GPU-HD2000-x86-Debug-ANGLE',
269 'Test-Mac10.8-Clang-MacMini4.1-CPU-SSE4-x86_64-Release', 262 'Test-Mac10.8-Clang-MacMini4.1-CPU-SSE4-x86_64-Release',
270 'Test-Mac-Clang-MacMini4.1-GPU-GeForce320M-x86_64-Release', 263 'Test-Mac-Clang-MacMini4.1-GPU-GeForce320M-x86_64-Release',
271 'Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Release',
272 ] 264 ]
273 265
274 cov = coverage.coverage() 266 cov = coverage.coverage()
275 cov.start() 267 cov.start()
276 for case in cases: 268 for case in cases:
277 args[case] = get_args(case) 269 args[case] = get_args(case)
278 cov.stop() 270 cov.stop()
279 271
280 this_file = os.path.basename(__file__) 272 this_file = os.path.basename(__file__)
281 _, _, not_run, _ = cov.analysis(this_file) 273 _, _, not_run, _ = cov.analysis(this_file)
(...skipping 11 matching lines...) Expand all
293 if len(sys.argv) == 2 and sys.argv[1] == 'test': 285 if len(sys.argv) == 2 and sys.argv[1] == 'test':
294 self_test() 286 self_test()
295 sys.exit(0) 287 sys.exit(0)
296 288
297 if len(sys.argv) != 3: 289 if len(sys.argv) != 3:
298 print usage 290 print usage
299 sys.exit(1) 291 sys.exit(1)
300 292
301 with open(sys.argv[1], 'w') as out: 293 with open(sys.argv[1], 'w') as out:
302 json.dump(get_args(sys.argv[2]), out) 294 json.dump(get_args(sys.argv[2]), out)
OLDNEW
« no previous file with comments | « tools/dm_flags.json ('k') | tools/flags/SkCommonFlagsConfig.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698