diff options
author | Derek Sollenberger <djsollen@google.com> | 2011-03-16 15:47:39 -0400 |
---|---|---|
committer | Derek Sollenberger <djsollen@google.com> | 2011-03-16 15:47:39 -0400 |
commit | adff8fe3e93335625cc084a33dc0506581c2048d (patch) | |
tree | 66ce5485a51d9ae8a0b118f323368f81665d0640 | |
parent | 49fff159362adc0289fe593ac113a8d0a0671edf (diff) | |
download | external_webkit-adff8fe3e93335625cc084a33dc0506581c2048d.zip external_webkit-adff8fe3e93335625cc084a33dc0506581c2048d.tar.gz external_webkit-adff8fe3e93335625cc084a33dc0506581c2048d.tar.bz2 |
Disable the use of EGL fences for synchronization.
bug: 4098273
Change-Id: Iaf7eaa13b9d4410dfb984af0e4a83dadedb09648
-rw-r--r-- | WebCore/platform/graphics/android/SharedTexture.cpp | 4 |
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); |