| 1 | // Copyright (C) 2021 LG Electronics Inc. | 
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only | 
| 3 |  | 
| 4 | #include "qwaylandcompositorpresentationtimeforeign_p.h" | 
| 5 |  | 
| 6 | QT_BEGIN_NAMESPACE | 
| 7 |  | 
| 8 | /*! | 
| 9 |     \qmlmodule QtWayland.Compositor.PresentationTime | 
| 10 |     \title Qt Wayland Presentation Time Extension | 
| 11 |     \ingroup qmlmodules | 
| 12 |     \since 6.3 | 
| 13 |     \brief Provides tracking the timing when a frame is presented on screen. | 
| 14 |  | 
| 15 |     \section2 Summary | 
| 16 |     The PresentationTime extension provides a way to track rendering timing | 
| 17 |     for a surface. Client can request feedbacks associated with a surface, | 
| 18 |     then compositor send events for the feedback with the time when the surface | 
| 19 |     is presented on-screen. | 
| 20 |  | 
| 21 |     PresentationTime corresponds to the Wayland \c wp_presentation interface. | 
| 22 |  | 
| 23 |     \section2 Usage | 
| 24 |     To use this module, import it like this: | 
| 25 |     \qml | 
| 26 |     import QtWayland.Compositor.PresentationTime | 
| 27 |     \endqml | 
| 28 | */ | 
| 29 |  | 
| 30 | QT_END_NAMESPACE | 
| 31 |  | 
| 32 | #include "moc_qwaylandcompositorpresentationtimeforeign_p.cpp" | 
| 33 |  |