From 3a8b0d82885d4309f84c00dee61f0d4431bf4688 Mon Sep 17 00:00:00 2001 From: "borenet@google.com" Date: Fri, 14 Sep 2012 15:27:41 +0000 Subject: [PATCH] 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 --- tools/picture_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/picture_utils.cpp b/tools/picture_utils.cpp index 2dd1f4e..864f49a 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 { -- 2.7.4