| OLD | NEW |
| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 args.extend(['--GPUbenchTileH', '256']) | 56 args.extend(['--GPUbenchTileH', '256']) |
| 57 | 57 |
| 58 match = [] | 58 match = [] |
| 59 if 'Android' in bot: | 59 if 'Android' in bot: |
| 60 # Segfaults when run as GPU bench. Very large texture? | 60 # Segfaults when run as GPU bench. Very large texture? |
| 61 match.append('~blurroundrect') | 61 match.append('~blurroundrect') |
| 62 match.append('~patch_grid') # skia:2847 | 62 match.append('~patch_grid') # skia:2847 |
| 63 match.append('~desk_carsvg') | 63 match.append('~desk_carsvg') |
| 64 if 'HD2000' in bot: | 64 if 'HD2000' in bot: |
| 65 match.extend(['~gradient', '~etc1bitmap']) # skia:2895 | 65 match.extend(['~gradient', '~etc1bitmap']) # skia:2895 |
| 66 if 'Nexus7' in bot: | |
| 67 match = ['skp'] # skia:2774 | |
| 68 if 'NexusPlayer' in bot: | 66 if 'NexusPlayer' in bot: |
| 69 match.append('~desk_unicodetable') | 67 match.append('~desk_unicodetable') |
| 70 | 68 |
| 71 if 'iOS' in bot: | 69 if 'iOS' in bot: |
| 72 match.append('~blurroundrect') | 70 match.append('~blurroundrect') |
| 73 match.append('~patch_grid') # skia:2847 | 71 match.append('~patch_grid') # skia:2847 |
| 74 match.append('~desk_carsvg') | 72 match.append('~desk_carsvg') |
| 75 match.append('~keymobi') | 73 match.append('~keymobi') |
| 76 match.append('~path_hairline') | 74 match.append('~path_hairline') |
| 77 | 75 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 114 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
| 117 self_test() | 115 self_test() |
| 118 sys.exit(0) | 116 sys.exit(0) |
| 119 | 117 |
| 120 if len(sys.argv) != 3: | 118 if len(sys.argv) != 3: |
| 121 print usage | 119 print usage |
| 122 sys.exit(1) | 120 sys.exit(1) |
| 123 | 121 |
| 124 with open(sys.argv[1], 'w') as out: | 122 with open(sys.argv[1], 'w') as out: |
| 125 json.dump(get_args(sys.argv[2]), out) | 123 json.dump(get_args(sys.argv[2]), out) |
| OLD | NEW |