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
qeglfsrcarintegration.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"
9#include "EGL/eglext_REL.h"
10
11QT_BEGIN_NAMESPACE
12
13class QEglFSRcarIntegration : public QEglFSDeviceIntegration
14{
15public:
16 void platformInit() 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 EGLNativeDisplayType platformDisplay() const override;
21
22private:
23 QSize mScreenSize;
24 EGLNativeDisplayType mNativeDisplay;
25 EGLNativeWindowTypeREL *mNativeWindow;
26 int mNativeDisplayID;
27};
28
29QT_END_NAMESPACE
30
31#endif
static r_wm_WinColorFmt_t getWMColorFormat(const QSurfaceFormat &format)
#define RCAR_DEFAULT_DISPLAY
#define RCAR_DEFAULT_WM_LAYER