Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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
4#ifndef QMETALLAYER_P_H
5#define QMETALLAYER_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtGui/qtguiglobal.h>
19
20#include <QtCore/qreadwritelock.h>
21#include <QtCore/qloggingcategory.h>
22#include <QtCore/private/qcore_mac_p.h>
23
24#include <QuartzCore/CAMetalLayer.h>
25
26QT_BEGIN_NAMESPACE
27class QReadWriteLock;
28
29QT_DECLARE_EXPORTED_QT_LOGGING_CATEGORY(lcMetalLayer, Q_GUI_EXPORT)
30
31QT_END_NAMESPACE
32
33#if defined(__OBJC__)
34Q_GUI_EXPORT
35#endif
36QT_DECLARE_NAMESPACED_OBJC_INTERFACE(QMetalLayer, CAMetalLayer
37@property (nonatomic, readonly) QT_PREPEND_NAMESPACE(QReadWriteLock) &displayLock;
38@property (atomic, copy) void (^mainThreadPresentation)();
39)
40
41#endif // QMETALLAYER_P_H
Q_LOGGING_CATEGORY(lcEventDispatcher, "qt.eventdispatcher")