diff options
author | Teng-Hui Zhu <ztenghui@google.com> | 2011-11-29 17:06:04 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-11-29 17:06:04 -0800 |
commit | a5c5de101b2a1a1f1d347f21519299d05b745eab (patch) | |
tree | 44e545800175e33900bf40dfc2be8877ba270841 /Source/WebCore/platform/graphics | |
parent | 807ee5ec662a7864dee505040ade9a9b3eab143c (diff) | |
parent | 2d19ea7c0d192c0c1eda1caed7e25143bbe22c20 (diff) | |
download | external_webkit-a5c5de101b2a1a1f1d347f21519299d05b745eab.zip external_webkit-a5c5de101b2a1a1f1d347f21519299d05b745eab.tar.gz external_webkit-a5c5de101b2a1a1f1d347f21519299d05b745eab.tar.bz2 |
Merge "Set the exact buffer size to Surf Tex" into ics-mr1
Diffstat (limited to 'Source/WebCore/platform/graphics')
-rw-r--r-- | Source/WebCore/platform/graphics/android/TransferQueue.cpp | 2 |
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 b92edaf..bfe92e9 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+1); + m_sharedSurfaceTexture->setBufferCount(ST_BUFFER_NUMBER); int result = native_window_set_buffers_geometry(m_ANW.get(), width, height, HAL_PIXEL_FORMAT_RGBA_8888); |