st/vdpau: add flush on unmap

Graphics / Mesa 3D Graphics Library / Mesa - Christian König [amd.com] - 6 February 2014 13:58 UTC

Flush the context when we unmap a buffer, otherwise VDPAU might start rendering the next frame while we still reference that buffer.

db54fca st/vdpau: add flush on unmap
src/mesa/state_tracker/st_vdpau.c | 4 ++++
1 file changed, 4 insertions(+)

Upstream: cgit.freedesktop.org


  • Share