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
4#ifndef QEGLFSVIVINTEGRATION_H
5#define QEGLFSVIVINTEGRATION_H
6
7#include "private/qeglfsdeviceintegration_p.h"
8#include "EGL/eglext_REL.h"
9
10QT_BEGIN_NAMESPACE
11
12class QEglFSRcarIntegration : public QEglFSDeviceIntegration
13{
14public:
15 void platformInit() override;
16 QSize screenSize() const override;
17 EGLNativeWindowType createNativeWindow(QPlatformWindow *window, const QSize &size, const QSurfaceFormat &format) override;
18 void destroyNativeWindow(EGLNativeWindowType window) override;
19 EGLNativeDisplayType platformDisplay() const override;
20
21private:
22 QSize mScreenSize;
23 EGLNativeDisplayType mNativeDisplay;
24 EGLNativeWindowTypeREL *mNativeWindow;
25 int mNativeDisplayID;
26};
27
28QT_END_NAMESPACE
29
30#endif
static r_wm_WinColorFmt_t getWMColorFormat(const QSurfaceFormat &format)
#define RCAR_DEFAULT_DISPLAY
#define RCAR_DEFAULT_WM_LAYER