Debian Codegraph @

src/plugins/platforms/eglfs/deviceintegration/eglfs_viv/qeglfsvivintegration.h

raw
1 // Copyright (C) 2016 The Qt Company Ltd.
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 QEGLFSVIVINTEGRATION_H
5 #define QEGLFSVIVINTEGRATION_H
6
7 #include "private/qeglfsdeviceintegration_p.h"
8
9 QT_BEGIN_NAMESPACE
10
11 class QEglFSVivIntegration : public QEglFSDeviceIntegration
12 {
13 public:
14 void platformInit() override;
15 QSize screenSize() const override;
16 EGLNativeWindowType createNativeWindow(QPlatformWindow *window, const QSize &size, const QSurfaceFormat &format) override;
17 void destroyNativeWindow(EGLNativeWindowType window) override;
18 EGLNativeDisplayType platformDisplay() const override;
19
20 private:
21 QSize mScreenSize;
22 EGLNativeDisplayType mNativeDisplay;
23 };
24
25 QT_END_NAMESPACE
26
27 #endif