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

Unified Diff: tools/nanobench_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, 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/nanobench_flags.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/nanobench_flags.py
diff --git a/tools/nanobench_flags.py b/tools/nanobench_flags.py
index 41779efaa4ac566101a35d46df216a841ac14054..c2f129e039f7be7e2d938855ae4759dc0be7362f 100755
--- a/tools/nanobench_flags.py
+++ b/tools/nanobench_flags.py
@@ -58,6 +58,14 @@ def get_args(bot):
else:
config.extend(['msaa16', 'nvpr16', 'nvprdit16'])
+ # Bench instanced rendering on a limited number of platforms
+ if 'Nexus6' in bot:
+ config.append('esinst') # esinst4 isn't working yet on Adreno.
+ elif 'TegraX1' in bot:
+ config.extend(['glinst', 'glinst4'])
+ elif 'MacMini6.2' in bot:
+ config.extend(['glinst', 'glinst16'])
+
if 'Vulkan' in bot:
config = ['vk']
@@ -148,9 +156,11 @@ def self_test():
args = {}
cases = [
'Perf-Android-GCC-Nexus6-GPU-Adreno420-Arm7-Release',
+ 'Test-Android-GCC-Nexus6-GPU-Adreno420-Arm7-Debug',
'Perf-Android-Nexus7-Tegra3-Arm7-Release',
'Perf-Android-GCC-NexusPlayer-GPU-PowerVR-x86-Release',
'Perf-Android-GCC-GalaxyS3-GPU-Mali400-Arm7-Release',
+ 'Test-Mac-Clang-MacMini6.2-GPU-HD4000-x86_64-Debug',
'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind',
'Test-Win7-MSVC-ShuttleA-GPU-HD2000-x86-Debug-ANGLE',
'Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Debug',
« no previous file with comments | « tools/nanobench_flags.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698