diff options
author | Teng-Hui Zhu <ztenghui@google.com> | 2011-09-27 09:54:40 -0700 |
---|---|---|
committer | Teng-Hui Zhu <ztenghui@google.com> | 2011-09-27 09:59:45 -0700 |
commit | 3ccd3a0e15152972f714758ccff434dc36c1f96b (patch) | |
tree | 21b1122809ae801c515f2672787f7aaf1275df71 | |
parent | 53d8ef97560e64d50207a3ed70e9fc3528b9f7fc (diff) | |
download | external_webkit-3ccd3a0e15152972f714758ccff434dc36c1f96b.zip external_webkit-3ccd3a0e15152972f714758ccff434dc36c1f96b.tar.gz external_webkit-3ccd3a0e15152972f714758ccff434dc36c1f96b.tar.bz2 |
Increase the texture number for layers
This will break the Gpu upload code path on phones which is turned off by
default, but it will work on the tablet.
bug:5347539
Change-Id: Idc9889a8681035addd85843191322039a69110e5
-rw-r--r-- | Source/WebCore/platform/graphics/android/TilesManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/android/TilesManager.cpp b/Source/WebCore/platform/graphics/android/TilesManager.cpp index c16f945..2c7f09b 100644 --- a/Source/WebCore/platform/graphics/android/TilesManager.cpp +++ b/Source/WebCore/platform/graphics/android/TilesManager.cpp @@ -70,7 +70,7 @@ #define TILE_HEIGHT 256 #define LAYER_TILE_WIDTH 256 #define LAYER_TILE_HEIGHT 256 -#define LAYER_TILES 50 +#define LAYER_TILES 100 // Define a maximum amount of ram used by layers #define MAX_LAYERS_ALLOCATION 33554432 // 32Mb |