This is the first set of patches aimed at improving the functions to convert between media types and various representations. Not everything ended up being necessary for what I wanted to do (MFVIDEOFORMAT seems to be the only format able to carry aperture information after all) but the tests and implementation are now there and will still be useful to convert media types from/to AM_MEDIA_TYPE formats.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5294
--
v3: winevulkan: Get rid of the wine_vk_instance_free helper.
winevulkan: Add handle mappings on creation success only.
winevulkan: Simplify wine_vk_instance_free helper.
winevulkan: Get rid of the wine_vk_device_free helper.
winevulkan: Use a single allocation for instance and physical devices.
winevulkan: Rename wine_vk_physical_device_alloc parameters and variables.
winevulkan: Pass VkDeviceQueueCreateInfo to wine_vk_device_init_queues.
winevulkan: Use a single allocation for device and queues.
winevulkan: Use an rb_tree and allocate entries for handle mappings.
https://gitlab.winehq.org/wine/wine/-/merge_requests/5274