mirror of
https://gitlab.freedesktop.org/mesa/vulkan-wsi-layer.git
synced 2025-12-25 00:00:18 +01:00
Add support for handling VkSwapchainPresentModeInfoEXT and VkSwapchainPresentModesCreateInfoEXT when supplied as part of the pNext chain of VkPresentInfoKHR and VkSwapchainCreateInfoKHR respectively. Since the headless backend has no effect when switching between FIFO and FIFO_RELAXED, and the wayland backend does not support switching presentation modes between MAILBOX and FIFO, the only real thing we can do is check that the presentation mode requested is one that is supported by the swapchain and is compatible with the current presentation mode. Change-Id: I8d5506e9b1a8fba079e2f9d6ee133038feb27dca Signed-off-by: Dennis Tsiang <dennis.tsiang@arm.com> Signed-off-by: Fufu Fang <fufu.fang@arm.com> |
||
|---|---|---|
| .. | ||
| layer.cpp | ||
| 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 | ||