Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
4#ifndef QEGLFSOPENWFDINTEGRATION_H
5#define QEGLFSOPENWFDINTEGRATION_H
6
7#include "private/qeglfsdeviceintegration_p.h"
8#define WFD_WFDEXT_PROTOTYPES
9#include "wfd.h"
10#include "wfdext2.h"
11
13
15{
16public:
17 void platformInit() override;
18 void platformDestroy() override;
19 QSize screenSize() const override;
20 EGLNativeWindowType createNativeWindow(QPlatformWindow *window, const QSize &size, const QSurfaceFormat &format) override;
21 void destroyNativeWindow(EGLNativeWindowType window) override;
22 EGLNativeDisplayType platformDisplay() const override;
23 virtual QSurfaceFormat surfaceFormatFor(const QSurfaceFormat &inputFormat) const;
24
25private:
26 QSize mScreenSize;
27 EGLNativeDisplayType mNativeDisplay;
28 WFDDevice mDevice;
29 WFDPort mPort;
30 WFDPipeline mPipeline;
31};
32
34
35#endif
virtual QSurfaceFormat surfaceFormatFor(const QSurfaceFormat &inputFormat) const
EGLNativeWindowType createNativeWindow(QPlatformWindow *window, const QSize &size, const QSurfaceFormat &format) override
EGLNativeDisplayType platformDisplay() const override
void destroyNativeWindow(EGLNativeWindowType window) override
The QPlatformWindow class provides an abstraction for top-level windows.
\inmodule QtCore
Definition qsize.h:25
The QSurfaceFormat class represents the format of a QSurface. \inmodule QtGui.
Combined button and popup list for selecting options.
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLint GLsizei GLsizei GLenum format
aWidget window() -> setWindowTitle("New Window Title")
[2]