Scale even smaller in bench_pictures to get things green
authorborenet@google.com <borenet@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 14 Sep 2012 15:27:41 +0000 (15:27 +0000)
committerborenet@google.com <borenet@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 14 Sep 2012 15:27:41 +0000 (15:27 +0000)
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

index 2dd1f4e..864f49a 100644 (file)
@@ -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 {