summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android/TilesManager.h
diff options
context:
space:
mode:
authorShimeng (Simon) Wang <swang@google.com>2011-02-15 14:30:49 -0800
committerShimeng (Simon) Wang <swang@google.com>2011-02-15 14:30:49 -0800
commit522c8aecb5c6a797ceb59e8eaa9ab44e3a5fda54 (patch)
tree5ab49c0a39589a9554d6f45c06802f0b985e59ce /WebCore/platform/graphics/android/TilesManager.h
parenta06ac8116d6d5d82316f450445453171cd7add1c (diff)
downloadexternal_webkit-522c8aecb5c6a797ceb59e8eaa9ab44e3a5fda54.zip
external_webkit-522c8aecb5c6a797ceb59e8eaa9ab44e3a5fda54.tar.gz
external_webkit-522c8aecb5c6a797ceb59e8eaa9ab44e3a5fda54.tar.bz2
Set correct max texture allocations.
This fixes core dump or dead lock in GL code when rotating screen. Change-Id: I5da2e5a41dfdb18f98f126d2a2fac999210ce7c7
Diffstat (limited to 'WebCore/platform/graphics/android/TilesManager.h')
-rw-r--r--WebCore/platform/graphics/android/TilesManager.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/android/TilesManager.h b/WebCore/platform/graphics/android/TilesManager.h
index eeb38fe..29b7fc1 100644
--- a/WebCore/platform/graphics/android/TilesManager.h
+++ b/WebCore/platform/graphics/android/TilesManager.h
@@ -45,6 +45,7 @@ class TilesManager {
public:
static TilesManager* instance();
static GLint getMaxTextureSize();
+ static int getMaxTextureAllocation();
static bool hardwareAccelerationEnabled()
{