Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qeglfsvivwlintegration.h
Go to the documentation of this file.
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// Qt-Security score:significant reason:default
4
5#ifndef QEGLFSVIVINTEGRATION_H
6#define QEGLFSVIVINTEGRATION_H
7
8#include "private/qeglfsdeviceintegration_p.h"
9struct wl_display;
10
11QT_BEGIN_NAMESPACE
12
13class QEglFSVivWaylandIntegration : public QEglFSDeviceIntegration
14{
15public:
16 void platformInit() override;
17 void platformDestroy() override;
18 QSize screenSize() const override;
19 EGLNativeWindowType createNativeWindow(QPlatformWindow *window, const QSize &size, const QSurfaceFormat &format) override;
20 void destroyNativeWindow(EGLNativeWindowType window) override;
21 EGLNativeDisplayType platformDisplay() const override;
22
23 void *wlDisplay() const override;
24private:
25 QSize mScreenSize;
26 EGLNativeDisplayType mNativeDisplay;
27 wl_display *mWaylandDisplay;
28};
29
30QT_END_NAMESPACE
31
32#endif