diff options
author | 2012-09-14 15:27:41 +0000 | |
---|---|---|
committer | 2012-09-14 15:27:41 +0000 | |
commit | 3a8b0d82885d4309f84c00dee61f0d4431bf4688 (patch) | |
tree | 3a3393e8444215989f0a264ae05c7f4d0e0fa820 /tools | |
parent | 8cae8358f78b81539f1006afe592a37f1604e67c (diff) |
Scale even smaller in bench_pictures to get things green
Over-the-shoulder review from reed@
Review URL: https://codereview.appspot.com/6512043
git-svn-id: http://skia.googlecode.com/svn/trunk@5545 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tools')
-rw-r--r-- | tools/picture_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/picture_utils.cpp b/tools/picture_utils.cpp index 2dd1f4ec45..864f49aa73 100644 --- a/tools/picture_utils.cpp +++ b/tools/picture_utils.cpp @@ -95,7 +95,7 @@ namespace sk_tools { bool area_too_big(int w, int h, SkISize* newSize) { // just a guess, based on what seems to fail on smaller android devices - static const int64_t kMaxAreaForMemory = 16 * 1024 * 1024; + static const int64_t kMaxAreaForMemory = 4 * 1024 * 1024; if ((int64_t)w * h > kMaxAreaForMemory) { do { |