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
vsync.h
Go to the documentation of this file.
1
// Copyright (C) 2025 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
QARKUI__VSYNC_H
5
#
define
QARKUI__VSYNC_H
6
7
#
include
<
QtCore
/
qglobal
.
h
>
8
#
include
<
functional
>
9
#
include
<
native_window
/
external_window
.
h
>
10
11
QT_BEGIN_NAMESPACE
12
13
namespace
QArkUi
{
14
15
std
::function<
void
()>
makeVSyncFrameRequester
(
16
::OHNativeWindow *nativeWindow,
std
::function<
void
()> vsyncFrameReadyFunc);
17
18
}
19
20
QT_END_NAMESPACE
21
22
#
endif
QtOhos::TypedId
Definition
qohosutils.h:35
QArkUi
Definition
input.cpp:8
QArkUi::makeVSyncFrameRequester
std::function< void()> makeVSyncFrameRequester(::OHNativeWindow *nativeWindow, std::function< void()> vsyncFrameReadyFunc)
Definition
vsync.cpp:157
QtOhos
Definition
qcore_ohos.cpp:52
std
[33]
Definition
src_corelib_tools_qhash.cpp:421
std::hash< VsyncId >
Definition
vsync.cpp:23
std::hash< VsyncId >::operator()
std::size_t operator()(const VsyncId &vsyncId) const noexcept
Definition
vsync.cpp:165
VsyncId
QtOhos::TypedId< std::uintptr_t, struct VsyncIdTag > VsyncId
Definition
vsync.cpp:19
qtbase
src
plugins
platforms
ohos
qarkui
vsync.h
Generated on
for Qt by
1.16.1