diff options
-rw-r--r-- | Source/WebCore/platform/graphics/android/TransferQueue.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/android/TransferQueue.cpp b/Source/WebCore/platform/graphics/android/TransferQueue.cpp index dcc34d2..fa7f5b6 100644 --- a/Source/WebCore/platform/graphics/android/TransferQueue.cpp +++ b/Source/WebCore/platform/graphics/android/TransferQueue.cpp @@ -211,7 +211,8 @@ bool TransferQueue::readyForUpdate() // Disable this wait until we figure out why this didn't work on some // drivers b/5332112. #if 0 - if (m_currentDisplay != EGL_NO_DISPLAY) { + if (m_currentUploadType == GpuUpload + && m_currentDisplay != EGL_NO_DISPLAY) { // Check the GPU fence EGLSyncKHR syncKHR = m_transferQueue[getNextTransferQueueIndex()].m_syncKHR; if (syncKHR != EGL_NO_SYNC_KHR) |