21 #ifndef PLATFORM_WSI_HPP 22 #define PLATFORM_WSI_HPP 24 #include "framework/semaphore_manager.hpp" 25 #include "libvulkan-stub.h" 26 #include "platform.hpp" 85 const std::vector<const char *> &deviceExtensions);
101 VkSurfaceKHR surface = VK_NULL_HANDLE;
102 VkSwapchainKHR swapchain = VK_NULL_HANDLE;
104 std::vector<VkImage> swapchainImages;
106 virtual VkSurfaceKHR createSurface() = 0;
107 Result loadDeviceSymbols();
108 Result loadInstanceSymbols();
110 bool validateExtensions(
const std::vector<const char *> &required,
111 const std::vector<VkExtensionProperties> &available);
113 VkDebugReportCallbackEXT debug_callback = VK_NULL_HANDLE;
The SemaphoreManager keeps track of semaphores.