diff options
author | Christian König <deathsimple@vodafone.de> | 2012-03-01 23:03:09 +0100 |
---|---|---|
committer | Christian König <deathsimple@vodafone.de> | 2012-03-05 16:51:32 +0100 |
commit | 05579339c0da442669ea75749651e8cf4f9ec39b (patch) | |
tree | 037f8eefbd874395d2dcb2b4c7b79a4498f1285f /src/gallium/state_trackers/vdpau/vdpau_private.h | |
parent | 1d0c357a9733238985cbe029b174173ef927ac70 (diff) | |
download | external_mesa3d-05579339c0da442669ea75749651e8cf4f9ec39b.zip external_mesa3d-05579339c0da442669ea75749651e8cf4f9ec39b.tar.gz external_mesa3d-05579339c0da442669ea75749651e8cf4f9ec39b.tar.bz2 |
st/vdpau: make the interface thread save
Signed-off-by: Christian König <deathsimple@vodafone.de>
Diffstat (limited to 'src/gallium/state_trackers/vdpau/vdpau_private.h')
-rw-r--r-- | src/gallium/state_trackers/vdpau/vdpau_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/vdpau/vdpau_private.h b/src/gallium/state_trackers/vdpau/vdpau_private.h index c12f36f..2898a86 100644 --- a/src/gallium/state_trackers/vdpau/vdpau_private.h +++ b/src/gallium/state_trackers/vdpau/vdpau_private.h @@ -38,6 +38,7 @@ #include "util/u_debug.h" #include "util/u_rect.h" +#include "os/os_thread.h" #include "vl/vl_compositor.h" #include "vl/vl_csc.h" @@ -312,6 +313,7 @@ typedef struct struct vl_screen *vscreen; struct pipe_context *context; struct vl_compositor compositor; + pipe_mutex mutex; struct { struct vl_compositor_state *cstate; |