Am 08.10.2013 19:13, schrieb Marek Olšák:
From: Marek Olšák <[email protected]>

The timeout of 0 is equivalent to calling fence_signalled, which is not very
useful here.

Grigori already attached the same fix to the bug https://bugs.freedesktop.org/show_bug.cgi?id=68792.

He's probably already working on the rest of the fixes.

Christian.

---
  src/gallium/state_trackers/vdpau/presentation.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/state_trackers/vdpau/presentation.c 
b/src/gallium/state_trackers/vdpau/presentation.c
index c9f8ea7..abb2ac4 100644
--- a/src/gallium/state_trackers/vdpau/presentation.c
+++ b/src/gallium/state_trackers/vdpau/presentation.c
@@ -325,7 +325,7 @@ 
vlVdpPresentationQueueBlockUntilSurfaceIdle(VdpPresentationQueue presentation_qu
     pipe_mutex_lock(pq->device->mutex);
     if (surf->fence) {
        screen = pq->device->vscreen->pscreen;
-      screen->fence_finish(screen, surf->fence, 0);
+      screen->fence_finish(screen, surf->fence, PIPE_TIMEOUT_INFINITE);
     }
     pipe_mutex_unlock(pq->device->mutex);

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to