st/vdpau: add flush on unmap
authorChristian König <christian.koenig@amd.com>
Tue, 28 Jan 2014 14:22:05 +0000 (15:22 +0100)
committerChristian König <christian.koenig@amd.com>
Thu, 6 Feb 2014 19:58:38 +0000 (20:58 +0100)
commitdb54fca9b86aa124447d11d2bdbe359a2742cfd5
tree2331d3a60374a8ebc2d7ed4c939646779580a4e5
parent3f98053fc94a964930c73c43154daddfd7824e7c
st/vdpau: add flush on unmap

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

Signed-off-by: Christian König <christian.koenig@amd.com>
Tested-by: StrangeNoises (rachel@strangenoises.org)
src/mesa/state_tracker/st_vdpau.c