Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
6#ifndef QEGLFSKMSVSP2DEVICE_H
7#define QEGLFSKMSVSP2DEVICE_H
8
9#include <qeglfskmsdevice_p.h>
10
11#include <gbm.h>
12
14
15class QEglFSKmsScreen;
16
18{
19public:
21
22 bool open() override;
23 void close() override;
24
25 void *nativeDisplay() const override;
26 gbm_device *gbmDevice() const;
27
31 QPlatformScreen *screenThisScreenClones,
32 const QList<QPlatformScreen *> &screensCloningThisScreen) override;
33
34private:
35 Q_DISABLE_COPY(QEglFSKmsVsp2Device)
36
37 gbm_device *m_gbm_device = nullptr;
38};
39
41
42#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
QKmsScreenConfig * screenConfig() const
The QPlatformScreen class provides an abstraction for visual displays.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.
GLsizei const GLchar *const * path
QScreen * screen
[1]
Definition main.cpp:29
QT_BEGIN_NAMESPACE typedef uchar * output