From 7710abc298e9b0cd5f05c6f80fed251dbd85ecca Mon Sep 17 00:00:00 2001 From: Derek Sollenberger Date: Tue, 15 Mar 2011 14:51:30 -0400 Subject: Enable synchronization with fencing. We currently rely on the fact that nvidia serializes glFlush calls to ensure synchronization, but we should be using fences to handle this synchronization step. bug: 4098273 Change-Id: I13c4790434dea07d9da68b8ebebbba15b1e085a5 --- WebCore/platform/graphics/android/SharedTexture.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'WebCore/platform') diff --git a/WebCore/platform/graphics/android/SharedTexture.cpp b/WebCore/platform/graphics/android/SharedTexture.cpp index ace7234..7a67ae6 100644 --- a/WebCore/platform/graphics/android/SharedTexture.cpp +++ b/WebCore/platform/graphics/android/SharedTexture.cpp @@ -94,9 +94,6 @@ void SharedTexture::initSourceTexture() m_supportsEGLImage = GLUtils::isEGLImageSupported(); m_supportsEGLFenceSyncKHR = GLUtils::isEGLFenceSyncSupported(); - //TODO temporarily disable fence sync until nvidia implementation is complete - m_supportsEGLFenceSyncKHR = false; - LOGI("imageEGL: %d syncKHR: %d", m_supportsEGLImage, m_supportsEGLFenceSyncKHR); glGenTextures(1, &m_sourceTexture.m_textureId); -- cgit v1.1