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
qeglfsopenwfdintegration.h
Go to the documentation of this file.
1// Copyright (C) 2017 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 QEGLFSOPENWFDINTEGRATION_H
6#define QEGLFSOPENWFDINTEGRATION_H
7
8#include "private/qeglfsdeviceintegration_p.h"
9#define WFD_WFDEXT_PROTOTYPES
10#include "wfd.h"
11#include "wfdext2.h"
12
13QT_BEGIN_NAMESPACE
14
15class QEglFSOpenWFDIntegration : public QEglFSDeviceIntegration
16{
17public:
18 void platformInit() override;
19 void platformDestroy() override;
20 QSize screenSize() const override;
21 EGLNativeWindowType createNativeWindow(QPlatformWindow *window, const QSize &size, const QSurfaceFormat &format) override;
22 void destroyNativeWindow(EGLNativeWindowType window) override;
23 EGLNativeDisplayType platformDisplay() const override;
24 virtual QSurfaceFormat surfaceFormatFor(const QSurfaceFormat &inputFormat) const;
25
26private:
27 QSize mScreenSize;
28 EGLNativeDisplayType mNativeDisplay;
29 WFDDevice mDevice;
30 WFDPort mPort;
31 WFDPipeline mPipeline;
32};
33
35
36#endif
Combined button and popup list for selecting options.
#define MAX_NUM_OF_WFD_DEVICES
#define MAX_NUM_OF_WFD_PORT_MODES
#define MAX_NUM_OF_WFD_PORTS
#define MAX_NUM_OF_WFD_PIPELINES
#define MAX_NUM_OF_WFD_BUFFERS
WFD_EGLImageType * image
wfd_buffer_t buffers[MAX_NUM_OF_WFD_BUFFERS]