Debian Codegraph @

src/plugins/platforms/eglfs/deviceintegration/eglfs_brcm/qeglfsbrcmintegration.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 QEGLFSBRCMINTEGRATION_H
5 #define QEGLFSBRCMINTEGRATION_H
6
7 #include "private/qeglfsdeviceintegration_p.h"
8
9 QT_BEGIN_NAMESPACE
10
11 class QEglFSBrcmIntegration : public QEglFSDeviceIntegration
12 {
13 public:
14 void platformInit() override;
15 void platformDestroy() override;
16 EGLNativeDisplayType platformDisplay() const override;
17 QSize screenSize() const override;
18 EGLNativeWindowType createNativeWindow(QPlatformWindow *window, const QSize &size, const QSurfaceFormat &format) override;
19 void destroyNativeWindow(EGLNativeWindowType window) override;
20 bool hasCapability(QPlatformIntegration::Capability cap) const override;
21 };
22
23 QT_END_NAMESPACE
24
25 #endif