summaryrefslogtreecommitdiffstats
path: root/WebCore/platform
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2011-03-16 13:17:43 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-03-16 13:17:43 -0700
commitab60a5124c80ef3bbbe80a8ad714f07457d29f98 (patch)
tree87824549e25dc824d804d8af49c8dcb0d4c763e5 /WebCore/platform
parent9d867bf3af621a847929fdc13e4c36ffcaa580f2 (diff)
parentadff8fe3e93335625cc084a33dc0506581c2048d (diff)
downloadexternal_webkit-ab60a5124c80ef3bbbe80a8ad714f07457d29f98.zip
external_webkit-ab60a5124c80ef3bbbe80a8ad714f07457d29f98.tar.gz
external_webkit-ab60a5124c80ef3bbbe80a8ad714f07457d29f98.tar.bz2
Merge "Disable the use of EGL fences for synchronization." into honeycomb-mr1
Diffstat (limited to 'WebCore/platform')
-rw-r--r--WebCore/platform/graphics/android/SharedTexture.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/android/SharedTexture.cpp b/WebCore/platform/graphics/android/SharedTexture.cpp
index 7a67ae6..f2da663 100644
--- a/WebCore/platform/graphics/android/SharedTexture.cpp
+++ b/WebCore/platform/graphics/android/SharedTexture.cpp
@@ -94,6 +94,10 @@ void SharedTexture::initSourceTexture()
m_supportsEGLImage = GLUtils::isEGLImageSupported();
m_supportsEGLFenceSyncKHR = GLUtils::isEGLFenceSyncSupported();
+ // TODO temporarily disable fence sync until the EGL framework fixes
+ // performance issues that result from consistently adding/removing fences.
+ m_supportsEGLFenceSyncKHR = false;
+
LOGI("imageEGL: %d syncKHR: %d", m_supportsEGLImage, m_supportsEGLFenceSyncKHR);
glGenTextures(1, &m_sourceTexture.m_textureId);