summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_egldevice/qeglfskmsegldevicescreen.h
blob: 8779499bef8c7522e87ac0048b0f5c997b8c5d87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright (C) 2016 Pelagicore AG
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only

#ifndef QEGLFSKMSEGLDEVICESCREEN_H
#define QEGLFSKMSEGLDEVICESCREEN_H

#include <private/qeglfskmsscreen_p.h>

QT_BEGIN_NAMESPACE

class QEglFSKmsEglDeviceScreen : public QEglFSKmsScreen
{
public:
    QEglFSKmsEglDeviceScreen(QEglFSKmsDevice *device, const QKmsOutput &output);
    ~QEglFSKmsEglDeviceScreen();

    QPlatformCursor *cursor() const override;

    void waitForFlip() override;
private:
    uint32_t m_default_fb_handle;
    uint32_t m_default_fb_id;
};

QT_END_NAMESPACE

#endif // QEGLFSKMSEGLDEVICESCREEN_H