mirror of
https://gitlab.freedesktop.org/mesa/vulkan-wsi-layer.git
synced 2026-05-16 00:28:11 +02:00
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> |
||
|---|---|---|
| .. | ||
| calibrated_timestamps_api.cpp | ||
| calibrated_timestamps_api.hpp | ||
| layer.cpp | ||
| present_timing_api.cpp | ||
| present_wait_api.cpp | ||
| present_wait_api.hpp | ||
| private_data.cpp | ||
| private_data.hpp | ||
| surface_api.cpp | ||
| surface_api.hpp | ||
| swapchain_api.cpp | ||
| swapchain_api.hpp | ||
| swapchain_maintenance_api.cpp | ||
| swapchain_maintenance_api.hpp | ||
| VkLayer_window_system_integration.json | ||
| wsi_layer_experimental.hpp | ||