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

Side by Side Diff: tools/bench_pictures_cfg_helper.py

Issue 845623002: Remove SkTileGrid (except for TileGridInfo). (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: kill gridSupported Created 5 years, 11 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/bbh_shootout.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 5
6 """ Helper functions to be used in bench_pictures.cfg. """ 6 """ Helper functions to be used in bench_pictures.cfg. """
7 7
8 8
9 def Config(**kwargs): 9 def Config(**kwargs):
10 config = {} 10 config = {}
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 def TileRTreeConfig(tile_x, tile_y, **kwargs): 98 def TileRTreeConfig(tile_x, tile_y, **kwargs):
99 return RTreeConfig(**dict(TileArgs(tile_x, tile_y).items() + kwargs.items())) 99 return RTreeConfig(**dict(TileArgs(tile_x, tile_y).items() + kwargs.items()))
100 100
101 101
102 def RecordGridConfig(tile_x, tile_y, **kwargs): 102 def RecordGridConfig(tile_x, tile_y, **kwargs):
103 return GridConfig(tile_x=tile_x, tile_y=tile_y, mode='record', **kwargs) 103 return GridConfig(tile_x=tile_x, tile_y=tile_y, mode='record', **kwargs)
104 104
105 105
106 def PlaybackCreationGridConfig(tile_x, tile_y, **kwargs): 106 def PlaybackCreationGridConfig(tile_x, tile_y, **kwargs):
107 return GridConfig(tile_x, tile_y, mode='playbackCreation') 107 return GridConfig(tile_x, tile_y, mode='playbackCreation')
108
109
110 def TileGridConfig(tile_x, tile_y, **kwargs):
111 return GridConfig(tile_x, tile_y,
112 **dict(TileArgs(tile_x, tile_y).items() + kwargs.items()))
OLDNEW
« no previous file with comments | « tools/bbh_shootout.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698