Make ANGLE bot run only ANGLE configs in bench_pictures
Review URL: https://codereview.appspot.com/7397043 git-svn-id: http://skia.googlecode.com/svn/trunk@7799 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
e49ad45404
commit
46dc43da88
@ -103,6 +103,7 @@ def AndroidConfigList(tile_size, scale, cores, viewport, do_gpu=True):
|
|||||||
# a dictionary of key/value pairs directly corresponding to the command-line
|
# a dictionary of key/value pairs directly corresponding to the command-line
|
||||||
# flags passed to bench_pictures.
|
# flags passed to bench_pictures.
|
||||||
bench_pictures_cfg = {
|
bench_pictures_cfg = {
|
||||||
|
'angle': [TiledConfig(DEFAULT_TILE_X, DEFAULT_TILE_Y, device='angle')],
|
||||||
'debug': [TiledBitmapConfig(DEFAULT_TILE_X, DEFAULT_TILE_Y)],
|
'debug': [TiledBitmapConfig(DEFAULT_TILE_X, DEFAULT_TILE_Y)],
|
||||||
'default': default_configs,
|
'default': default_configs,
|
||||||
'no_gpu': [cfg for cfg in default_configs if cfg['device'] != 'gpu'],
|
'no_gpu': [cfg for cfg in default_configs if cfg['device'] != 'gpu'],
|
||||||
|
@ -35,6 +35,10 @@ def TiledGPUConfig(tile_x, tile_y, **kwargs):
|
|||||||
return GPUConfig(**dict(TileArgs(tile_x, tile_y).items() + kwargs.items()))
|
return GPUConfig(**dict(TileArgs(tile_x, tile_y).items() + kwargs.items()))
|
||||||
|
|
||||||
|
|
||||||
|
def TiledConfig(tile_x, tile_y, **kwargs):
|
||||||
|
return Config(**dict(TileArgs(tile_x, tile_y).items() + kwargs.items()))
|
||||||
|
|
||||||
|
|
||||||
def ViewportBitmapConfig(viewport_x, viewport_y, **kwargs):
|
def ViewportBitmapConfig(viewport_x, viewport_y, **kwargs):
|
||||||
return BitmapConfig(viewport=[str(viewport_x), str(viewport_y)], **kwargs)
|
return BitmapConfig(viewport=[str(viewport_x), str(viewport_y)], **kwargs)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user