HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
src
ttauri
GUI
gui_system_vulkan_win32.hpp
1
// Copyright Take Vos 2020.
2
// Distributed under the Boost Software License, Version 1.0.
3
// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
4
5
#pragma once
6
7
#include "gui_system_vulkan.hpp"
8
#include <span>
9
10
namespace
tt {
11
12
class
gui_system_vulkan_win32
final:
public
gui_system_vulkan
{
13
public
:
14
gui_system_vulkan_win32
(
std::weak_ptr<gui_system_delegate>
const
&delegate);
15
~gui_system_vulkan_win32
();
16
17
gui_system_vulkan_win32
(
const
gui_system_vulkan_win32
&) =
delete
;
18
gui_system_vulkan_win32
&operator=(
const
gui_system_vulkan_win32
&) =
delete
;
19
gui_system_vulkan_win32
(
gui_system_vulkan_win32
&&) =
delete
;
20
gui_system_vulkan_win32
&operator=(
gui_system_vulkan_win32
&&) =
delete
;
21
22
vk::ResultValueType<vk::SurfaceKHR>::type createWin32SurfaceKHR(
const
vk::Win32SurfaceCreateInfoKHR& createInfo)
const
{
23
ttlet lock = std::scoped_lock(gui_system_mutex);
24
return
intrinsic
.createWin32SurfaceKHR(createInfo);
25
}
26
};
27
28
}
tt::gui_system_vulkan
Vulkan gui_device controller.
Definition
gui_system_vulkan.hpp:15
tt::gui_system_vulkan::intrinsic
vk::Instance intrinsic
Vulkan instance.
Definition
gui_system_vulkan.hpp:25
tt::gui_system_vulkan_win32
Definition
gui_system_vulkan_win32.hpp:12
std::weak_ptr
Generated on Mon Apr 22 2024 12:53:42 for HikoGUI by
1.10.0