diff options
| author | Nicolas Roard <nicolas@android.com> | 2011-02-24 16:14:33 -0800 |
|---|---|---|
| committer | android-merger <android-build@android.com> | 2011-02-24 18:45:13 -0800 |
| commit | 50b859bbf59fd5f64f2b9fbbf24c83dc9ae789b7 (patch) | |
| tree | aa485482110cfae9f289169b3748f42ac364f77d /WebCore | |
| parent | 9fb971fa97f29dd7ae8f1032033d07511d2365a1 (diff) | |
| download | external_webkit-50b859bbf59fd5f64f2b9fbbf24c83dc9ae789b7.zip external_webkit-50b859bbf59fd5f64f2b9fbbf24c83dc9ae789b7.tar.gz external_webkit-50b859bbf59fd5f64f2b9fbbf24c83dc9ae789b7.tar.bz2 | |
Do not merge: Cherry-pick CL to help flash plugin performance
Add a glFinish() at the end of drawGL(), to help
the GPU and the flash plugin...
bug:3471680
Change-Id: I309e0ba13f0b51b08b762de39b47b2b409faeacc
Diffstat (limited to 'WebCore')
| -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 6f27321..e373c3d 100644 --- a/WebCore/platform/graphics/android/BaseLayerAndroid.cpp +++ b/WebCore/platform/graphics/android/BaseLayerAndroid.cpp @@ -337,6 +337,7 @@ bool BaseLayerAndroid::drawGL(IntRect& viewRect, SkRect& visibleRect, TilesManager::instance()->cleanupLayersTextures(0); } + glFinish(); glBindBuffer(GL_ARRAY_BUFFER, 0); m_previousVisible = visibleRect; |
