anv/wsi: Mark Wayland buffers as busy
authorDaniel Stone <daniels@collabora.com>
Tue, 19 Jan 2016 16:53:16 +0000 (16:53 +0000)
committerDaniel Stone <daniels@collabora.com>
Tue, 19 Jan 2016 16:54:55 +0000 (16:54 +0000)
commitf9ca780ea4fa1b11639a880be501171017585f2c
tree4e3d3e44c73516d6730283b2c3be7e7ea97702a0
parentba5ef49dcbf9e001231658ad8c6588649a2dbd57
anv/wsi: Mark Wayland buffers as busy

We were diligently setting Wayland buffers as non-busy, but nowhere in
the code did we set them to busy when submitted to the server. This
meant that acquire_next_image would only ever find the same buffer in
a loop, over and over.

Signed-off-by: Daniel Stone <daniels@collabora.com>
src/vulkan/anv_wsi_wayland.c