KWin
Loading...
Searching...
No Matches
src
utils
vsyncmonitor.h
Go to the documentation of this file.
1
/*
2
SPDX-FileCopyrightText: 2020 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
3
4
SPDX-License-Identifier: GPL-2.0-or-later
5
*/
6
7
#pragma once
8
9
#include "
effect/globals.h
"
10
11
#include <QObject>
12
13
#include <chrono>
14
15
namespace
KWin
16
{
17
21
class
KWIN_EXPORT
VsyncMonitor
:
public
QObject
22
{
23
Q_OBJECT
24
25
public
:
26
explicit
VsyncMonitor
();
27
28
public
Q_SLOTS:
29
virtual
void
arm
() = 0;
30
31
Q_SIGNALS:
32
void
errorOccurred
();
33
void
vblankOccurred
(std::chrono::nanoseconds timestamp);
34
};
35
36
}
// namespace KWin
KWin::VsyncMonitor
Definition
vsyncmonitor.h:22
KWin::VsyncMonitor::VsyncMonitor
VsyncMonitor()
KWin::VsyncMonitor::vblankOccurred
void vblankOccurred(std::chrono::nanoseconds timestamp)
KWin::VsyncMonitor::arm
virtual void arm()=0
KWin::VsyncMonitor::errorOccurred
void errorOccurred()
globals.h
KWin
Definition
activation_test.cpp:20
Generated on Sat Feb 17 2024 01:42:10 for KWin by
1.10.0