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
qmetallayer_p.h
Go to the documentation of this file.
1
// Copyright (C) 2024 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
#
ifndef
QMETALLAYER_P_H
6
#
define
QMETALLAYER_P_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
<
QtGui
/
qtguiglobal
.
h
>
20
21
#
include
<
QtCore
/
qreadwritelock
.
h
>
22
#
include
<
QtCore
/
qloggingcategory
.
h
>
23
#
include
<
QtCore
/
private
/
qcore_mac_p
.
h
>
24
25
#
include
<
QuartzCore
/
CAMetalLayer
.
h
>
26
27
QT_BEGIN_NAMESPACE
28
class
QReadWriteLock;
29
30
QT_DECLARE_EXPORTED_QT_LOGGING_CATEGORY(lcMetalLayer, Q_GUI_EXPORT)
31
32
QT_END_NAMESPACE
33
34
#
if
defined
(
__OBJC__
)
35
Q_GUI_EXPORT
36
#
endif
37
QT_DECLARE_NAMESPACED_OBJC_INTERFACE(QMetalLayer, CAMetalLayer
38
@property (nonatomic, readonly) QT_PREPEND_NAMESPACE(QReadWriteLock) &displayLock;
39
@property (atomic, copy)
void
(^mainThreadPresentation)();
40
)
41
42
#
endif
// QMETALLAYER_P_H
Q_LOGGING_CATEGORY
Q_LOGGING_CATEGORY(lcEventDispatcher, "qt.eventdispatcher")
qtbase
src
gui
platform
darwin
qmetallayer_p.h
Generated on
for Qt by
1.18.0