Mesa (master): st/python: Add timeout parameter to fence_finish.

Vinson Lee vlee at kemper.freedesktop.org
Wed Mar 9 00:19:49 UTC 2011


Module: Mesa
Branch: master
Commit: 67f61199c24276e6032774d56d2843c62fe28a2f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=67f61199c24276e6032774d56d2843c62fe28a2f

Author: Vinson Lee <vlee at vmware.com>
Date:   Tue Mar  8 16:18:16 2011 -0800

st/python: Add timeout parameter to fence_finish.

This is a follow-up to commit b39bccbd4ed71e9585da4cf5acf7b887b2e90899.

Fixes Linux SCons build.

---

 src/gallium/state_trackers/python/p_context.i |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/state_trackers/python/p_context.i b/src/gallium/state_trackers/python/p_context.i
index b30050b..4ccc4c0 100644
--- a/src/gallium/state_trackers/python/p_context.i
+++ b/src/gallium/state_trackers/python/p_context.i
@@ -403,7 +403,7 @@ error1:
       $self->pipe->flush($self->pipe, flags | PIPE_FLUSH_RENDER_CACHE, &fence);
       if(fence) {
          /* TODO: allow asynchronous operation */ 
-         $self->pipe->screen->fence_finish( $self->pipe->screen, fence, 0 );
+         $self->pipe->screen->fence_finish( $self->pipe->screen, fence, 0, PIPE_TIMEOUT_INFINITE );
          $self->pipe->screen->fence_reference( $self->pipe->screen, &fence, NULL );
       }
    }




More information about the mesa-commit mailing list