Commit graph

8 commits

Author SHA1 Message Date
bc94b68c0c
Add log + Cleanup 2024-11-15 23:16:18 +01:00
caa79270db Refactor 2024-11-12 13:25:52 +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
b91571e777
Enhance vulkan instance and physical device display formatting
Refactor Vulkan instance and physical device formatting for better clarity. Added formatter utilities to encapsulate version and property formatting. Updated logging to use the new formatted output for improved debug readability.
2024-11-10 21:27:03 +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
4048937a6c
Refactor VK layer handling and add logging improvements
Refactored VK layer handling by changing return type of `use_layers` to `Vec<CString>`, adjusting subsequent usage of layers. Implemented `Display` for `VkPhysicalDevice` for better logging. Enhanced application initialization with detailed window attributes. Transitioned to using `log::info` for consistent logging.
2024-11-10 11:27:45 +01:00
56ad167b0f Add logs of physical devices 2024-11-07 17:18:10 +01:00
06cc558baf Finish vk_instance
Add vk_physical_device
2024-11-07 14:05:09 +01:00