mirror of
https://gitlab.freedesktop.org/mesa/vulkan-wsi-layer.git
synced 2026-01-07 22:50:16 +01:00
Implement support for VK_EXT_image_compression_control_swapchain for both the Wayland and the headless windowing systems. The extension can be conditionally enabled through the new build option BUILD_WSI_IMAGE_COMPRESSION_CONTROL_SWAPCHAIN. Compiling with this option enabled requires recent Vulkan headers (1.3.213) Note also that support in the layer is enabled conditionally to the ICD supporting VK_EXT_image_compression_control. Update the WSIALLOC interface to version 2 and add support to prefer selection of a format with the highest fixed rate compression from the formats provided. This is used to pick a fixed rate compression when VK_IMAGE_COMPRESSION_FIXED_RATE_EXPLICIT_EXT is specified during swapchain creation. Signed-off-by: Dennis Tsiang <dennis.tsiang@arm.com> Signed-off-by: Rosen Zhelev <rosen.zhelev@arm.com> Signed-off-by: Normunds Rieksts <normunds.rieksts@arm.com> Signed-off-by: Matteo Franchin <matteo.franchin@arm.com> Change-Id: Ie37e6901042a65f2a408e428a705b5a24227b262 |
||
|---|---|---|
| .. | ||
| layer.cpp | ||
| private_data.cpp | ||
| private_data.hpp | ||
| surface_api.cpp | ||
| surface_api.hpp | ||
| swapchain_api.cpp | ||
| swapchain_api.hpp | ||
| VkLayer_window_system_integration.json | ||