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
qeglfskmsdevice_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// Copyright (C) 2016 Pelagicore AG
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4
5#ifndef QEGLFSKMSDEVICE_H
6#define QEGLFSKMSDEVICE_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 "private/qeglfsglobal_p.h"
20#include <QtKmsSupport/private/qkmsdevice_p.h>
21
23
24class Q_EGLFS_EXPORT QEglFSKmsDevice : public QKmsDevice
25{
26public:
27 QEglFSKmsDevice(QKmsScreenConfig *screenConfig, const QString &path);
28
29 void registerScreen(QPlatformScreen *screen,
30 bool isPrimary,
31 const QPoint &virtualPos,
32 const QList<QPlatformScreen *> &virtualSiblings) override;
33
34 void unregisterScreen(QPlatformScreen *screen) override;
35
36 void updateScreen(QPlatformScreen *screen, const QPoint &virtualPos,
37 const QList<QPlatformScreen *> &virtualSiblings) override;
38
39 void updateScreenOutput(QPlatformScreen *screen, const QKmsOutput &output) override;
40};
41
42QT_END_NAMESPACE
43
44#endif // QEGLFSKMSDEVICE_H