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
qeglfskmsvsp2device.h
Go to the documentation of this file.
1// Copyright (C) 2015 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
2// Copyright (C) 2017 The Qt Company Ltd.
3// Copyright (C) 2016 Pelagicore AG
4// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
5// Qt-Security score:significant reason:default
6
7#ifndef QEGLFSKMSVSP2DEVICE_H
8#define QEGLFSKMSVSP2DEVICE_H
9
10#include <qeglfskmsdevice_p.h>
11
12#include <gbm.h>
13
14QT_BEGIN_NAMESPACE
15
16class QEglFSKmsScreen;
17
19{
20public:
21 QEglFSKmsVsp2Device(QKmsScreenConfig *screenConfig, const QString &path);
22
23 bool open() override;
24 void close() override;
25
26 void *nativeDisplay() const override;
27 gbm_device *gbmDevice() const;
28
29 QPlatformScreen *createScreen(const QKmsOutput &output) override;
31 void registerScreenCloning(QPlatformScreen *screen,
32 QPlatformScreen *screenThisScreenClones,
33 const QList<QPlatformScreen *> &screensCloningThisScreen) override;
34
35private:
37
38 gbm_device *m_gbm_device = nullptr;
39};
40
41QT_END_NAMESPACE
42
43#endif // QEGLFSKMSVSP2DEVICE_H
gbm_device * gbmDevice() const
void * nativeDisplay() const override
QEglFSKmsVsp2Device(QKmsScreenConfig *screenConfig, const QString &path)
void registerScreenCloning(QPlatformScreen *screen, QPlatformScreen *screenThisScreenClones, const QList< QPlatformScreen * > &screensCloningThisScreen) override
QPlatformScreen * createHeadlessScreen() override
QPlatformScreen * createScreen(const QKmsOutput &output) override
Combined button and popup list for selecting options.