Commit graph

3 commits

Author SHA1 Message Date
ee8b886aec
Add swapchain (work in progress) 2024-11-12 22:01:08 +01:00
d0c6f31a1a
Refactor Vulkan device and instance handling
Refactor Vulkan initialization to merge logical and physical device management into a unified `VkDevice` struct. Improved logging for Vulkan instance creation and surface management. Added methods to `VkPhysicalDevice` and `VkSurface` for more detailed querying of physical device capabilities.
2024-11-11 12:09:52 +01:00
da0be47b14
Add logical device struct and surface handling for Vulkan
Introduce the VkLogicalDevice struct and add surface creation logic in VkInstance. Also, import necessary extensions and refine Vulkan physical device and window handling. Included a dependency on 'anyhow' for error management.
2024-11-10 18:18:59 +01:00