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-18 17:07:40 -0800
commit704eaca6f77288587c438291bc15a967515eaa8e (patch)
treee273c8eebcd8014f3f3e3c81485313774167e68e /WebCore/platform/graphics/android/TilesManager.h
parenta046a139c49a1c3e9e85101aeca4b68b89c396ca (diff)
downloadexternal_webkit-704eaca6f77288587c438291bc15a967515eaa8e.zip
external_webkit-704eaca6f77288587c438291bc15a967515eaa8e.tar.gz
external_webkit-704eaca6f77288587c438291bc15a967515eaa8e.tar.bz2
Set correct max texture allocations.
This fixes core dump or dead lock in GL code when rotating screen. Change-Id: Ia7bfa71125f1d24158084b6192d805b5b08b60f8
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()
{