From 9286a3db4f529f435ea4270ffc2ca7a7a1da922d Mon Sep 17 00:00:00 2001 From: ladevieq Date: Fri, 3 Feb 2023 09:55:06 +0100 Subject: Start presentation abstraction design --- include/api-test/vk-device.hpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'include/api-test/vk-device.hpp') diff --git a/include/api-test/vk-device.hpp b/include/api-test/vk-device.hpp index 32a0707..5b71529 100644 --- a/include/api-test/vk-device.hpp +++ b/include/api-test/vk-device.hpp @@ -15,12 +15,6 @@ using VmaAllocator = struct VmaAllocator_T*; class window; -struct vksurface { - VkSurfaceKHR vk_surface; - VkSwapchainKHR vk_swapchain; - uint32_t image_index; -}; - struct vksemaphore { VkSemaphore vk_semaphore = nullptr; uint64_t value = 0U; @@ -89,7 +83,7 @@ class vkdevice { void submit(std::span buffers, vksemaphore* wait, vksemaphore* signal); - void present(vksurface& surface, const vksemaphore& semaphore); + void present(device_surface& surface, const vksemaphore& semaphore); private: vkdevice(const window& window); -- cgit v1.3