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
qeglfskmsegldevice.h
Go to the documentation of this file.
1// Copyright (C) 2016 Pelagicore AG
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QEGLFSKMSEGLDEVICE_H
5#define QEGLFSKMSEGLDEVICE_H
6
7#include <private/qeglfskmsdevice_p.h>
8
9QT_BEGIN_NAMESPACE
10
11class QPlatformCursor;
12class QEglFSKmsEglDeviceIntegration;
13
15{
16public:
17 QEglFSKmsEglDevice(QEglFSKmsEglDeviceIntegration *devInt, QKmsScreenConfig *screenConfig, const QString &path);
18
19 bool open() override;
20 void close() override;
21
22 void *nativeDisplay() const override;
23
24 QPlatformScreen *createScreen(const QKmsOutput &output) override;
25
26 QPlatformCursor *globalCursor() { return m_globalCursor; }
28
29private:
30 QEglFSKmsEglDeviceIntegration *m_devInt;
31 QPlatformCursor *m_globalCursor;
32};
33
34QT_END_NAMESPACE
35
36#endif // QEGLFSKMSEGLDEVICE_H
QPlatformScreen * createScreen(const QKmsOutput &output) override
QPlatformCursor * globalCursor()
void * nativeDisplay() const override
QEglFSKmsEglDevice(QEglFSKmsEglDeviceIntegration *devInt, QKmsScreenConfig *screenConfig, const QString &path)