vulkan-wsi-layer/wsi/headless
Normunds Rieksts cedf53a2be Enables the present wait extension by default - experimental flag is no longer needed.
Fixes the following issues:

* For Wayland backend, populates the presentation feedback listener with all callbacks as it is considered a fault by the protocol to not implement those
* For Wayland backend presentation feedback listener, forwards the feedback_discarded event to present ID as there could be situations where previously submitted buffers are discarded, such as when swapchains are using the MAILBOX presentation mode.
* For all swapchains, communicate critical errors back to present wait extension as otherwise, all callers waiting that are waiting on present to be delivered in vkWaitForPresentKHR call will never exit.
* Expanded the implementation in vkWaitForPresentKHR to be able to return critical swapchain errors if they have occured during the wait time.
* Fix issues in present ID where infinite waits could result in the vkWaitForPresentKHR call returning immediately due to UINT64_MAX timeout resulting in overflowing the system clock used in std::condition_variable

Change-Id: I1e475c3073c05394db259657eae1da21764a5a5c
Signed-off-by: Normunds Rieksts <normunds.rieksts@arm.com>
Signed-off-by: Alex Bates <alex.bates@arm.com>
2025-06-06 16:41:12 +00:00
..
present_timing_handler.cpp Fix refresh duration comment for headless backend 2025-06-05 17:55:50 +01:00
present_timing_handler.hpp Acquiring timings for VK_PRESENT_STAGE_QUEUE_OPERATIONS_END_BIT_EXT 2025-05-28 15:59:16 +00:00
present_wait_headless.cpp Enables the present wait extension by default - experimental flag is no longer needed. 2025-06-06 16:41:12 +00:00
present_wait_headless.hpp Implement vkWaitForPresentKHR entrypoint 2025-05-09 16:04:39 +00:00
surface.cpp Fix formatting issues 2021-10-29 08:51:25 +00:00
surface.hpp Fix formatting issues 2021-10-29 08:51:25 +00:00
surface_properties.cpp Support VK_PRESENT_MODE_FIFO_LATEST_READY_EXT for headless & wayland 2025-06-04 09:39:03 +01:00
surface_properties.hpp Support VK_PRESENT_MODE_FIFO_LATEST_READY_EXT for headless & wayland 2025-06-04 09:39:03 +01:00
swapchain.cpp Enables the present wait extension by default - experimental flag is no longer needed. 2025-06-06 16:41:12 +00:00
swapchain.hpp Introduce swapchain_image_creator 2025-04-25 15:03:42 +01:00