vulkan-wsi-layer/layer
Alex Bates 441d95f1bb Adds support for present timing on Wayland even if the compositor does not support wp_presentation. Previously, support for wp_presentation was assumed.
If the time domain used by the compositor matches one of the time domains supported by the ICD:

* Advertise `VK_PRESENT_STAGE_IMAGE_FIRST_PIXEL_VISIBLE_BIT_EXT` in `VkPresentTimingSurfaceCapabilitiesEXT`
* List `VK_PRESENT_STAGE_IMAGE_FIRST_PIXEL_VISIBLE_BIT_EXT` in `swapchain_time_domains`

Also handles the case where neither `VK_TIME_DOMAIN_CLOCK_MONOTONIC_KHR` or `VK_TIME_DOMAIN_CLOCK_MONOTONIC_RAW_KHR` is supported for all backends.

Additionally fixes the issue where Wayland protocol was not dispatched correctly which resulted in Clock_ID event not being communicated back to the layer.

Signed-off-by: Alex Bates <alex.bates@arm.com>
Signed-off-by: Dennis Tsiang <dennis.tsiang@arm.com>
Signed-off-by: Normunds Rieksts <normunds.rieksts@arm.com>
2025-06-18 12:15:41 +00:00
..
calibrated_timestamps_api.cpp Use the KHR version for vkGetCalibratedTimestamps 2025-05-14 16:32:07 +01:00
calibrated_timestamps_api.hpp Use the KHR version for vkGetCalibratedTimestamps 2025-05-14 16:32:07 +01:00
layer.cpp Document the VK_PRESENT_MODE_FIFO_LATEST_READY_EXT support for Headless and Wayland 2025-06-08 15:32:22 +03:00
present_timing_api.cpp Acquiring timings for VK_PRESENT_STAGE_QUEUE_OPERATIONS_END_BIT_EXT 2025-05-28 15:59:16 +00:00
present_wait_api.cpp Enables the present wait extension by default - experimental flag is no longer needed. 2025-06-06 16:41:12 +00:00
present_wait_api.hpp Enables the present wait extension by default - experimental flag is no longer needed. 2025-06-06 16:41:12 +00:00
private_data.cpp Document the VK_PRESENT_MODE_FIFO_LATEST_READY_EXT support for Headless and Wayland 2025-06-08 15:32:22 +03:00
private_data.hpp Document the VK_PRESENT_MODE_FIFO_LATEST_READY_EXT support for Headless and Wayland 2025-06-08 15:32:22 +03:00
surface_api.cpp Adds support for present timing on Wayland even if the compositor does not support wp_presentation. Previously, support for wp_presentation was assumed. 2025-06-18 12:15:41 +00:00
surface_api.hpp Implement VK_KHR_get_surface_capabilities2 entrypoints 2022-03-10 10:28:33 +00:00
swapchain_api.cpp Fix the bugs with function dispatcher and swapchain handling 2025-03-13 17:47:43 +00:00
swapchain_api.hpp Add support for VK_KHR_shared_presentable_image for headless backend 2024-04-30 08:28:21 +00:00
swapchain_maintenance_api.cpp Introduce an extensions abstraction in the layer 2025-01-31 17:31:32 +00:00
swapchain_maintenance_api.hpp Add vkReleaseSwapchainImagesEXT entrypoint 2024-08-13 19:27:53 +01:00
VkLayer_window_system_integration.json Support VK_PRESENT_MODE_FIFO_LATEST_READY_EXT for headless & wayland 2025-06-04 09:39:03 +01:00
wsi_layer_experimental.hpp Acquiring timings for VK_PRESENT_STAGE_QUEUE_OPERATIONS_END_BIT_EXT 2025-05-28 15:59:16 +00:00