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
qwaylandpresentationtime_p.h
Go to the documentation of this file.
1
// Copyright (C) 2021 LG Electronics Inc.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
ifndef
QWAYLANDPRESENTATIONTIME_P_H
6
#
define
QWAYLANDPRESENTATIONTIME_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
<
QObject
>
20
#
include
<
QtWaylandCompositor
/
qwaylandcompositorextension
.
h
>
21
#
include
<
QtCore
/
private
/
qglobal_p
.
h
>
22
23
QT_BEGIN_NAMESPACE
24
25
class
QQuickWindow;
26
class
QWaylandPresentationTimePrivate
;
27
28
class
Q_WAYLANDCOMPOSITOR_EXPORT
QWaylandPresentationTime
:
public
QWaylandCompositorExtensionTemplate<QWaylandPresentationTime>
29
{
30
Q_OBJECT
31
Q_DECLARE_PRIVATE(QWaylandPresentationTime)
32
public
:
33
QWaylandPresentationTime();
34
QWaylandPresentationTime(QWaylandCompositor *compositor);
35
36
QWaylandCompositor *compositor()
const
;
37
void
initialize() override;
38
39
Q_INVOKABLE
void
sendFeedback(QQuickWindow *window, quint64 sequence, quint64 tv_sec, quint32 tv_nsec);
40
41
static
const
struct
wl_interface *interface();
42
static
QByteArray interfaceName();
43
44
Q_SIGNALS:
45
void
presented(quint64 sequence, quint64 tv_sec, quint32 tv_nsec, quint32 refresh_nsec);
46
};
47
48
QT_END_NAMESPACE
49
50
#
endif
PresentationFeedback
Definition
qwaylandpresentationtime_p_p.h:34
PresentationFeedback::setSurface
void setSurface(QWaylandSurface *)
Definition
qwaylandpresentationtime.cpp:155
PresentationFeedback::m_sync
bool m_sync
Definition
qwaylandpresentationtime_p_p.h:67
PresentationFeedback::wp_presentation_feedback_destroy_resource
void wp_presentation_feedback_destroy_resource(Resource *resource) override
Definition
qwaylandpresentationtime.cpp:311
PresentationFeedback::surface
QWaylandSurface * surface()
Definition
qwaylandpresentationtime_p_p.h:40
PresentationFeedback::sendSyncOutput
void sendSyncOutput()
Definition
qwaylandpresentationtime.cpp:278
PresentationFeedback::m_committed
bool m_committed
Definition
qwaylandpresentationtime_p_p.h:66
PresentationFeedback::m_surface
QWaylandSurface * m_surface
Definition
qwaylandpresentationtime_p_p.h:63
PresentationFeedback::destroy
void destroy()
Definition
qwaylandpresentationtime.cpp:306
PresentationFeedback::m_connectedWindow
QQuickWindow * m_connectedWindow
Definition
qwaylandpresentationtime_p_p.h:64
QWaylandPresentationTimePrivate
Definition
qwaylandpresentationtime_p_p.h:71
QWaylandPresentationTimePrivate::wp_presentation_bind_resource
void wp_presentation_bind_resource(Resource *resource) override
Definition
qwaylandpresentationtime.cpp:321
QWaylandPresentationTime
\qmltype PresentationTime \nativetype QWaylandPresentationTime \inqmlmodule QtWayland....
Definition
qwaylandpresentationtime_p.h:29
qtwayland
src
compositor
extensions
qwaylandpresentationtime_p.h
Generated on
for Qt by
1.18.0