Only use 256x256 tiles on hd2000 nanobench bots

Initial experiments did show that the 256 tile size fixed the hd2000 win7
nanobot failures. However it did not have any effect on other bots, so this
change is to move back to the larger tile size on all bots expect for the
hd2000.

BUG=skia:

Review URL: https://codereview.chromium.org/1022083002
This commit is contained in:
egdaniel 2015-03-20 07:03:52 -07:00 committed by Commit bot
parent ca75ea871e
commit 9a0f629973
3 changed files with 10 additions and 2 deletions

View File

@ -10,8 +10,8 @@
#include "SkMultiPictureDraw.h"
#include "SkSurface.h"
DEFINE_int32(benchTileW, 256, "Tile width used for SKP playback.");
DEFINE_int32(benchTileH, 256, "Tile height used for SKP playback.");
DEFINE_int32(benchTileW, 1600, "Tile width used for SKP playback.");
DEFINE_int32(benchTileH, 512, "Tile height used for SKP playback.");
SKPBench::SKPBench(const char* name, const SkPicture* pic, const SkIRect& clip, SkScalar scale,
bool useMultiPictureDraw)

View File

@ -85,6 +85,10 @@
"hwui",
"msaa16",
"nvprmsaa16",
"--benchTileW",
"256",
"--benchTileH",
"256",
"--match",
"~gradient",
"~etc1bitmap"

View File

@ -45,6 +45,10 @@ def get_args(bot):
elif 'Valgrind_CPU' in bot:
args.append('--nogpu')
if 'HD2000' in bot:
args.extend(['--benchTileW', '256'])
args.extend(['--benchTileH', '256'])
match = []
if 'Android' in bot:
# Segfaults when run as GPU bench. Very large texture?