KWin
Loading...
Searching...
No Matches
drmclientbuffer.h
Go to the documentation of this file.
1/*
2 SPDX-FileCopyrightText: 2021 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7#pragma once
8
9#include "kwin_export.h"
10
11#include <QObject>
12
13namespace KWin
14{
15
16class Display;
17class DrmClientBufferIntegrationPrivate;
18
30class KWIN_EXPORT DrmClientBufferIntegration : public QObject
31{
32 Q_OBJECT
33
34public:
35 explicit DrmClientBufferIntegration(Display *display);
37
38 void setDevice(const QString &node);
39
40private:
41 std::unique_ptr<DrmClientBufferIntegrationPrivate> d;
42};
43
44} // namespace KWin
Class holding the Wayland server display loop.
Definition display.h:34
struct _XDisplay Display