diff options
author | Derek Sollenberger <djsollen@google.com> | 2011-03-15 14:51:30 -0400 |
---|---|---|
committer | Derek Sollenberger <djsollen@google.com> | 2011-03-15 15:53:20 -0400 |
commit | 7710abc298e9b0cd5f05c6f80fed251dbd85ecca (patch) | |
tree | 5f56db78b23861ae61ff1a4cec5744f52f53964c /WebCore/platform | |
parent | 833c9ceaa300f52cf2d1b12a9b3482ad417a3c21 (diff) | |
download | external_webkit-7710abc298e9b0cd5f05c6f80fed251dbd85ecca.zip external_webkit-7710abc298e9b0cd5f05c6f80fed251dbd85ecca.tar.gz external_webkit-7710abc298e9b0cd5f05c6f80fed251dbd85ecca.tar.bz2 |
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
Diffstat (limited to 'WebCore/platform')
-rw-r--r-- | WebCore/platform/graphics/android/SharedTexture.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
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); |