summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android
diff options
context:
space:
mode:
authorNicolas Roard <nicolasroard@google.com>2011-08-31 13:51:42 -0700
committerNicolas Roard <nicolasroard@google.com>2011-08-31 13:51:42 -0700
commit4ebde1543c4961030c9adaaae41db8134baff88f (patch)
treeff1ceb32e4acf23686569838d2d5d5a218428578 /Source/WebKit/android
parentd3338f8d15e696aa0fcd06dc376ba6446d1f2f07 (diff)
downloadexternal_webkit-4ebde1543c4961030c9adaaae41db8134baff88f.zip
external_webkit-4ebde1543c4961030c9adaaae41db8134baff88f.tar.gz
external_webkit-4ebde1543c4961030c9adaaae41db8134baff88f.tar.bz2
Enable the FAST_PICTURESET codepath
bug:5218173 bug:5145259 Change-Id: I4518185eb8501dffeef99c08c4ae703c63326e91
Diffstat (limited to 'Source/WebKit/android')
-rw-r--r--Source/WebKit/android/jni/PictureSet.cpp2
-rw-r--r--Source/WebKit/android/jni/PictureSet.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebKit/android/jni/PictureSet.cpp b/Source/WebKit/android/jni/PictureSet.cpp
index 5e8bc6c..3c62205 100644
--- a/Source/WebKit/android/jni/PictureSet.cpp
+++ b/Source/WebKit/android/jni/PictureSet.cpp
@@ -43,7 +43,7 @@
#define MAX_ADDITIONAL_AREA 0.65
#define MAX_ADDITIONAL_PICTURES 32
-#define BUCKET_SIZE 512
+#define BUCKET_SIZE 256
#include <wtf/CurrentTime.h>
diff --git a/Source/WebKit/android/jni/PictureSet.h b/Source/WebKit/android/jni/PictureSet.h
index 6c42fbe..1ca4580 100644
--- a/Source/WebKit/android/jni/PictureSet.h
+++ b/Source/WebKit/android/jni/PictureSet.h
@@ -45,7 +45,7 @@
#include <wtf/Vector.h>
#include <wtf/HashMap.h>
-// #define FAST_PICTURESET // use a hierarchy of pictures
+#define FAST_PICTURESET // use a hierarchy of pictures
class SkCanvas;
class SkPicture;