HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
gfx_system_vulkan_macos.hpp
1// Copyright Take Vos 2021.
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 "gfx_system_vulkan.hpp"
8#include <span>
9
10namespace hi::inline v1 {
11
13public:
16
18 gfx_system_vulkan_macos &operator=(const gfx_system_vulkan_macos &) = delete;
21
22 vk::ResultValueType<vk::SurfaceKHR>::type createMetalSurfaceKHR(const vk::MetalSurfaceCreateInfoEXT &createInfo) const
23 {
25 return intrinsic.createMetalSurfaceEXT(createInfo);
26 }
27};
28
29} // namespace hi::inline v1
#define hi_axiom(expression,...)
Specify an axiom; an expression that is true.
Definition assert.hpp:133
DOXYGEN BUG.
Definition algorithm.hpp:15
unfair_recursive_mutex gfx_system_mutex
Global mutex for GUI elements, like gfx_system, gfx_device, Windows and Widgets.
Definition gfx_system_globals.hpp:15
Vulkan gfx_device controller.
Definition gfx_system_vulkan.hpp:15
Definition gfx_system_vulkan_macos.hpp:12
Definition gui_system_delegate.hpp:12
int recurse_lock_count() const noexcept
This function should be used in hi_axiom() to check if the lock is held by current thread.
Definition unfair_recursive_mutex.hpp:60