vulkan/wsi/x11: Implement FIFO mode.
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 3 Nov 2016 23:59:08 +0000 (16:59 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 11 Nov 2016 06:40:59 +0000 (22:40 -0800)
commite73d136a02308088cacab842790c7670e5d07b23
tree2c5d02f5ac223813317db7538b0a84f5082a1238
parent4fa0ca80eeeac813affcbb0129ed61f1534d8df0
vulkan/wsi/x11: Implement FIFO mode.

This implements VK_PRESENT_MODE_FIFO_KHR for X11.  Unfortunately, due to
the way the present extension works, we have to manage the queue of
presented images in a separate thread.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Cc: "13.0" <mesa-stable@lists.freedesktop.org>
src/vulkan/wsi/wsi_common_x11.c