From b710bb51daa71ea9fb80009ffbee868f462ebebf Mon Sep 17 00:00:00 2001 From: Nicolas Roard Date: Thu, 24 Feb 2011 16:14:33 -0800 Subject: Add a glFinish() at the end of drawGL(), to help the GPU and the flash plugin... bug:3471680 Change-Id: I436de6caea4dd5b1171f260d328dfe8170463832 --- WebCore/platform/graphics/android/BaseLayerAndroid.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'WebCore/platform/graphics/android') 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; -- cgit v1.1