diff options
author | Teng-Hui Zhu <ztenghui@google.com> | 2011-07-29 13:52:06 -0700 |
---|---|---|
committer | Teng-Hui Zhu <ztenghui@google.com> | 2011-07-29 13:52:06 -0700 |
commit | 5a18cae6b44f84a00cfdda598023a158a7310763 (patch) | |
tree | 60ec8a06e5fd1dae6f384c06c0a0a8518c34a39b /Source | |
parent | 14a561b2c1a0d30c36751ea756c773d70c9c4d76 (diff) | |
download | external_webkit-5a18cae6b44f84a00cfdda598023a158a7310763.zip external_webkit-5a18cae6b44f84a00cfdda598023a158a7310763.tar.gz external_webkit-5a18cae6b44f84a00cfdda598023a158a7310763.tar.bz2 |
Unify the the tile size for base tiles and layers
In order to use the shared Surface Texture to support both base tiles and
layers, the tile size has to be the same.
Separate this change out to catch any potential perf regression or boost.
bug:5044597
Change-Id: Ib296def7595ea605fa96745f333ec8ef6d199293
Diffstat (limited to 'Source')
-rw-r--r-- | Source/WebCore/platform/graphics/android/TilesManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/platform/graphics/android/TilesManager.cpp b/Source/WebCore/platform/graphics/android/TilesManager.cpp index 398cb09..6a294b0 100644 --- a/Source/WebCore/platform/graphics/android/TilesManager.cpp +++ b/Source/WebCore/platform/graphics/android/TilesManager.cpp @@ -68,8 +68,8 @@ #define EXPANDED_TILE_BOUNDS_X 0 #define EXPANDED_TILE_BOUNDS_Y 0 #define MAX_TEXTURE_ALLOCATION 3+(6+EXPANDED_TILE_BOUNDS_X*2)*(4+EXPANDED_TILE_BOUNDS_Y*2)*2 -#define TILE_WIDTH 300 -#define TILE_HEIGHT 300 +#define TILE_WIDTH 256 +#define TILE_HEIGHT 256 #define LAYER_TILE_WIDTH 256 #define LAYER_TILE_HEIGHT 256 #define LAYER_TILES 10 |