vulkan-wsi-layer/wsi
Dennis Tsiang 2bc2109194 Add support for VK_EXT_image_compression_control_swapchain
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
2022-05-25 16:49:52 +01:00
..
headless Add support for VK_EXT_image_compression_control_swapchain 2022-05-25 16:49:52 +01:00
wayland Add support for VK_EXT_image_compression_control_swapchain 2022-05-25 16:49:52 +01:00
surface.hpp Fix formatting issues 2021-10-29 08:51:25 +00:00
surface_properties.cpp Add support for VK_EXT_image_compression_control_swapchain 2022-05-25 16:49:52 +01:00
surface_properties.hpp Add support for VK_EXT_image_compression_control_swapchain 2022-05-25 16:49:52 +01:00
swapchain_base.cpp Add support for VK_EXT_image_compression_control_swapchain 2022-05-25 16:49:52 +01:00
swapchain_base.hpp Add support for VK_EXT_image_compression_control_swapchain 2022-05-25 16:49:52 +01:00
synchronization.cpp Update code to use modern c++ style 2021-11-11 10:15:22 +00:00
synchronization.hpp Fix formatting issues 2021-10-29 08:51:25 +00:00
wsi_factory.cpp Add support for VK_EXT_image_compression_control_swapchain 2022-05-25 16:49:52 +01:00
wsi_factory.hpp Store enabled instance and device extensions 2021-11-17 11:51:30 +00:00