diff options
author | Thomas Hellstrom <[email protected]> | 2016-04-01 07:31:18 +0200 |
---|---|---|
committer | Thomas Hellstrom <[email protected]> | 2017-02-22 10:20:37 +0100 |
commit | f1e5dfbe3c8951a6c8acf41bf5e6c2d090098b2c (patch) | |
tree | 6347bce9a02612bac53764312b886b49e6956a1d /src/gallium/state_trackers/vdpau/output.c | |
parent | bcc9fd378d07bb635ef9386e1542cbeaf7312461 (diff) |
st/vdpau: Fix multithreading
The vdpau state tracker allows multiple threads access to the same gallium
context simultaneously. We can fix this either by locking the same mutex
each time the context is used or by using a different gallium context for
each mutex domain. Here we do the latter, although I'm not sure that's really
the best option.
Signed-off-by: Thomas Hellstrom <[email protected]>
Acked-by: Sinclair Yeh <[email protected]>
Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/vdpau/output.c')
0 files changed, 0 insertions, 0 deletions