diff options
author | Nicolas Roard <nicolas@android.com> | 2011-02-24 16:19:01 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-02-24 16:19:01 -0800 |
commit | e886d45ec3b440bdfb359df75d72c98f6ca8e5ce (patch) | |
tree | 29856800707ba35e275cac2972a4864b101f9032 /WebCore/platform | |
parent | c22c6b4d16aa6d6297937688b6c2168d6107239e (diff) | |
parent | b710bb51daa71ea9fb80009ffbee868f462ebebf (diff) | |
download | external_webkit-e886d45ec3b440bdfb359df75d72c98f6ca8e5ce.zip external_webkit-e886d45ec3b440bdfb359df75d72c98f6ca8e5ce.tar.gz external_webkit-e886d45ec3b440bdfb359df75d72c98f6ca8e5ce.tar.bz2 |
Merge "Add a glFinish() at the end of drawGL(), to help the GPU and the flash plugin..."
Diffstat (limited to 'WebCore/platform')
-rw-r--r-- | WebCore/platform/graphics/android/BaseLayerAndroid.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/android/BaseLayerAndroid.cpp b/WebCore/platform/graphics/android/BaseLayerAndroid.cpp index 584add1..2166e9d 100644 --- a/WebCore/platform/graphics/android/BaseLayerAndroid.cpp +++ b/WebCore/platform/graphics/android/BaseLayerAndroid.cpp @@ -334,6 +334,7 @@ bool BaseLayerAndroid::drawGL(IntRect& viewRect, SkRect& visibleRect, TilesManager::instance()->cleanupLayersTextures(0); } + glFinish(); glBindBuffer(GL_ARRAY_BUFFER, 0); m_previousVisible = visibleRect; |