summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android
diff options
context:
space:
mode:
authorNicolas Roard <nicolas@android.com>2011-02-24 16:14:33 -0800
committerNicolas Roard <nicolas@android.com>2011-02-24 16:14:33 -0800
commitb710bb51daa71ea9fb80009ffbee868f462ebebf (patch)
treed9369764731fd4cd2861fcc3a9f51d7385b916db /WebCore/platform/graphics/android
parent40dbb7e9ff961829a7f4402ab8657c622ec2e9f6 (diff)
downloadexternal_webkit-b710bb51daa71ea9fb80009ffbee868f462ebebf.zip
external_webkit-b710bb51daa71ea9fb80009ffbee868f462ebebf.tar.gz
external_webkit-b710bb51daa71ea9fb80009ffbee868f462ebebf.tar.bz2
Add a glFinish() at the end of drawGL(), to help
the GPU and the flash plugin... bug:3471680 Change-Id: I436de6caea4dd5b1171f260d328dfe8170463832
Diffstat (limited to 'WebCore/platform/graphics/android')
-rw-r--r--WebCore/platform/graphics/android/BaseLayerAndroid.cpp1
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;