vulkan/wsi: Move prime blitting into queue_present
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 16 Nov 2017 17:30:16 +0000 (09:30 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 4 Dec 2017 18:04:19 +0000 (10:04 -0800)
commitad4c60d6b87eb92191c638bf52ad38e7dd59f627
tree2a0baf312d20a48f378a1066dd8664b3b9e602de
parent393aa3f6c929fdbcaa599597e28a3206aa09dcc2
vulkan/wsi: Move prime blitting into queue_present

This lets us save a QueueSubmit and it also makes prime a lot less
X11-specific.  Also, it means we can only wait on the semaphores once
instead of on every blit.

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/vulkan/wsi/wsi_common.c
src/vulkan/wsi/wsi_common.h
src/vulkan/wsi/wsi_common_private.h
src/vulkan/wsi/wsi_common_wayland.c
src/vulkan/wsi/wsi_common_x11.c