mesa/src/vulkan
Michel Dänzer e8f50bd600 wsi/x11: Treat IMMEDIATE present mode the same as MAILBOX for Xwayland
Two main reasons:

As described in the previous commit, sending buffers to the Wayland
compositor as quickly as possible effectively results in mailbox
behaviour.

Also, doing the same as for MAILBOX present mode provides the following
benefits:

* We use more images in the swapchain, which avoids stalls on the client
  side if the Wayland compositor directly uses the client buffers for
  scanout.

* We wait for fences to signal before submitting a new buffer, which
  avoids missing frames in the Wayland compositor due to fences not
  signalling in time for a flip.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3673
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8197>
2021-01-07 15:00:45 +01:00
..
device-select-layer vulkan/device_select: Store Vulkan vendorID and deviceID as uint32_t 2020-12-08 16:19:25 +00:00
overlay-layer vulkan/overlay: add new options to display device/swapchain-format 2020-12-15 08:05:38 +00:00
registry vulkan: Update to 1.2.164. 2020-12-07 15:25:17 +00:00
util vulkan: Enable VK_KHR_performance_query on android 2020-12-11 07:19:36 +00:00
wsi wsi/x11: Treat IMMEDIATE present mode the same as MAILBOX for Xwayland 2021-01-07 15:00:45 +01:00
Android.mk android: util: Add a mapping from VkFormat to PIPE_FORMAT. 2019-12-27 09:20:40 +01:00
Makefile.sources vulkan,anv: Add a common base object type for VkDevice 2020-05-04 14:06:27 +00:00
meson.build wsi/x11: Always link against xcb-xrandr 2021-01-07 14:57:45 +01:00
vulkan-icd-symbols.txt vulkan: Allow global symbol HMI for Android 2020-08-05 18:08:07 +00:00