| 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 QEGLFSKMSEGLDEVICESCREEN_H |
| 5 |
#define QEGLFSKMSEGLDEVICESCREEN_H |
| 6 |
|
| 7 |
#include <private/qeglfskmsscreen_p.h> |
| 8 |
|
| 9 |
QT_BEGIN_NAMESPACE |
| 10 |
|
| 11 |
class QEglFSKmsEglDeviceScreen : public QEglFSKmsScreen |
| 12 |
{ |
| 13 |
public: |
| 14 |
QEglFSKmsEglDeviceScreen(QEglFSKmsDevice *device, const QKmsOutput &output); |
| 15 |
~QEglFSKmsEglDeviceScreen(); |
| 16 |
|
| 17 |
QPlatformCursor *cursor() const override; |
| 18 |
|
| 19 |
void waitForFlip() override; |
| 20 |
private: |
| 21 |
uint32_t m_default_fb_handle; |
| 22 |
uint32_t m_default_fb_id; |
| 23 |
}; |
| 24 |
|
| 25 |
QT_END_NAMESPACE |
| 26 |
|
| 27 |
#endif // QEGLFSKMSEGLDEVICESCREEN_H |