summaryrefslogtreecommitdiffstats
path: root/Source/WebCore
diff options
context:
space:
mode:
authorTeng-Hui Zhu <ztenghui@google.com>2011-12-02 15:28:40 -0800
committerTeng-Hui Zhu <ztenghui@google.com>2011-12-02 15:28:40 -0800
commit5f3b12e15cecee038a7b8543f972fe418ae9e7a3 (patch)
tree13b58b667a58a40365b89b521e45b56856b32ce4 /Source/WebCore
parent243f1a9f7a19e951afa11a656b273cd4da03ef38 (diff)
downloadexternal_webkit-5f3b12e15cecee038a7b8543f972fe418ae9e7a3.zip
external_webkit-5f3b12e15cecee038a7b8543f972fe418ae9e7a3.tar.gz
external_webkit-5f3b12e15cecee038a7b8543f972fe418ae9e7a3.tar.bz2
Revert "Set the exact buffer size to Surf Tex"
This reverts commit 2d19ea7c0d192c0c1eda1caed7e25143bbe22c20. bug:5689093
Diffstat (limited to 'Source/WebCore')
-rw-r--r--Source/WebCore/platform/graphics/android/TransferQueue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/android/TransferQueue.cpp b/Source/WebCore/platform/graphics/android/TransferQueue.cpp
index fb32cd6..b20ec7a 100644
--- a/Source/WebCore/platform/graphics/android/TransferQueue.cpp
+++ b/Source/WebCore/platform/graphics/android/TransferQueue.cpp
@@ -97,7 +97,7 @@ void TransferQueue::initSharedSurfaceTextures(int width, int height)
#endif
m_ANW = new android::SurfaceTextureClient(m_sharedSurfaceTexture);
m_sharedSurfaceTexture->setSynchronousMode(true);
- m_sharedSurfaceTexture->setBufferCount(ST_BUFFER_NUMBER);
+ m_sharedSurfaceTexture->setBufferCount(ST_BUFFER_NUMBER+1);
int result = native_window_set_buffers_geometry(m_ANW.get(),
width, height, HAL_PIXEL_FORMAT_RGBA_8888);