summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/GLWebViewState.h
diff options
context:
space:
mode:
authorTeng-Hui Zhu <ztenghui@google.com>2012-01-25 14:25:28 -0800
committerTeng-Hui Zhu <ztenghui@google.com>2012-01-27 11:47:08 -0800
commite1dfe84b38ed080c7bb7ac00fd9e3c6c590a147d (patch)
treeebe3660dd305146b68dfd65a4c9579c6888ad44d /Source/WebCore/platform/graphics/android/GLWebViewState.h
parentce7f402c69fcd625a91611f47cd61d1baa3681b9 (diff)
downloadexternal_webkit-e1dfe84b38ed080c7bb7ac00fd9e3c6c590a147d.zip
external_webkit-e1dfe84b38ed080c7bb7ac00fd9e3c6c590a147d.tar.gz
external_webkit-e1dfe84b38ed080c7bb7ac00fd9e3c6c590a147d.tar.bz2
Clean up tranfer queue before EGL context destroy
This will avoid ANR when texture generation thread is stuck b/c transfer queue is running out of slots, at the same time, EGL context get destroyed and no more draw call coming to free up more slots. Abandon the surface texture will also help to be more memory friendly. Move the highEndGfx check to TilesManager. bug:5639899 Change-Id: I98f0289ae5ca18361f71dec853327223506e3073
Diffstat (limited to 'Source/WebCore/platform/graphics/android/GLWebViewState.h')
-rw-r--r--Source/WebCore/platform/graphics/android/GLWebViewState.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/WebCore/platform/graphics/android/GLWebViewState.h b/Source/WebCore/platform/graphics/android/GLWebViewState.h
index d195597..169e276 100644
--- a/Source/WebCore/platform/graphics/android/GLWebViewState.h
+++ b/Source/WebCore/platform/graphics/android/GLWebViewState.h
@@ -234,7 +234,6 @@ public:
int expandedTileBoundsX() { return m_expandedTileBoundsX; }
int expandedTileBoundsY() { return m_expandedTileBoundsY; }
- void setHighEndGfx(bool highEnd) { m_highEndGfx = highEnd; }
float scale() { return m_scale; }
@@ -289,7 +288,6 @@ private:
int m_expandedTileBoundsX;
int m_expandedTileBoundsY;
- bool m_highEndGfx;
float m_scale;