Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qplatformvulkaninstance.cpp
Go to the documentation of this file.
1
// Copyright (C) 2017 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
include
"qplatformvulkaninstance.h"
6
7
QT_BEGIN_NAMESPACE
8
9
/*!
10
\class QPlatformVulkanInstance
11
\since 5.10
12
\internal
13
\preliminary
14
\ingroup qpa
15
16
\brief The QPlatformVulkanInstance class provides an abstraction for Vulkan instances.
17
18
The platform Vulkan instance is responsible for loading a Vulkan library,
19
resolving the basic entry points for creating instances, providing support
20
for creating new or adopting existing VkInstances, and abstracting some
21
WSI-specifics like checking if a given queue family can be used to present
22
using a given window.
23
24
\note platform plugins will typically subclass not this class, but rather
25
QBasicVulkanPlatformInstance.
26
27
\note Vulkan instance creation is split into two phases: a new
28
QPlatformVulkanInstance is expected to load the Vulkan library and do basic
29
initialization, after which the supported layers and extensions can be
30
queried. Everything else is deferred into createOrAdoptInstance().
31
*/
32
33
class
QPlatformVulkanInstancePrivate
34
{
35
public
:
36
QPlatformVulkanInstancePrivate() { }
37
};
38
39
QPlatformVulkanInstance::QPlatformVulkanInstance()
40
: d_ptr(
new
QPlatformVulkanInstancePrivate)
41
{
42
}
43
44
QPlatformVulkanInstance::~QPlatformVulkanInstance()
45
{
46
}
47
48
void
QPlatformVulkanInstance::presentAboutToBeQueued(QWindow *window)
49
{
50
Q_UNUSED(window);
51
}
52
53
void
QPlatformVulkanInstance::presentQueued(QWindow *window)
54
{
55
Q_UNUSED(window);
56
}
57
58
void
QPlatformVulkanInstance::setDebugFilters(
const
QList<QVulkanInstance::DebugFilter> &filters)
59
{
60
Q_UNUSED(filters);
61
}
62
63
void
QPlatformVulkanInstance::setDebugUtilsFilters(
const
QList<QVulkanInstance::DebugUtilsFilter> &filters)
64
{
65
Q_UNUSED(filters);
66
}
67
68
void
QPlatformVulkanInstance::beginFrame(QWindow *window)
69
{
70
Q_UNUSED(window);
71
}
72
73
void
QPlatformVulkanInstance::endFrame(QWindow *window)
74
{
75
Q_UNUSED(window);
76
}
77
78
79
QT_END_NAMESPACE
qtbase
src
gui
vulkan
qplatformvulkaninstance.cpp
Generated on
for Qt by
1.18.0