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

Unified Diff: tools/dm_flags.py

Issue 1099023003: Ask for NVPR only when we expect it to be available. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« tools/dm_flags.json ('K') | « tools/dm_flags.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dm_flags.py
diff --git a/tools/dm_flags.py b/tools/dm_flags.py
index 13a0620f8f3290e6edf922e5c914c8a80d88dc30..96cdaafd274d20fe608d433f96c0ae9f8ac0b0f4 100755
--- a/tools/dm_flags.py
+++ b/tools/dm_flags.py
@@ -30,14 +30,21 @@ def get_args(bot):
args = []
configs = ['565', '8888', 'gpu']
+
+ if 'TegraK1' in bot or 'GTX550Ti' in bot or 'GTX660' in bot or 'GT610' in bot:
+ if 'Android' in bot:
+ configs.append('nvprmsaa4')
+ else:
+ configs.append('nvprmsaa16')
+
# The S4 crashes and the NP produces a long error stream when we run with
# MSAA.
if ('GalaxyS4' not in bot and
'NexusPlayer' not in bot):
if 'Android' in bot:
- configs.extend(['msaa4', 'nvprmsaa4'])
+ configs.append('msaa4')
else:
- configs.extend(['msaa16', 'nvprmsaa16'])
+ configs.append('msaa16')
# Runs out of memory on Android bots and Daisy. Everyone else seems fine.
if 'Android' not in bot and 'Daisy' not in bot:
configs.append('pdf')
@@ -150,6 +157,7 @@ def self_test():
import coverage # This way the bots don't need coverage.py to be installed.
args = {}
cases = [
+ 'Test-Android-GCC-Nexus9-GPU-TegraK1-Arm64-Debug',
'Test-Android-GCC-GalaxyS3-GPU-Mali400-Arm7-Debug',
'Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Release',
'Test-Android-GCC-NexusPlayer-CPU-SSSE3-x86-Release',
« tools/dm_flags.json ('K') | « tools/dm_flags.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698