diff options
-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); |