aboutsummaryrefslogtreecommitdiffstats
path: root/include/api-test/vk-device.hpp
diff options
context:
space:
mode:
authorladevieq <ladevie.quentin@gmail.com>2023-02-03 09:55:06 +0100
committerladevieq <ladevie.quentin@gmail.com>2023-02-03 09:55:06 +0100
commit9286a3db4f529f435ea4270ffc2ca7a7a1da922d (patch)
treedf1d1f1f03e5688185234aa538b4d99cca34bea5 /include/api-test/vk-device.hpp
parent75acd0104448d7c5f43f99700decff39b8a034b2 (diff)
Start presentation abstraction design
Diffstat (limited to 'include/api-test/vk-device.hpp')
-rw-r--r--include/api-test/vk-device.hpp8
1 files changed, 1 insertions, 7 deletions
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<command_buffer> 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);