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
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
4#ifndef QEGLFSVIVINTEGRATION_H
5#define QEGLFSVIVINTEGRATION_H
6
7#include "private/qeglfsdeviceintegration_p.h"
8struct wl_display;
9
11
13{
14public:
15 void platformInit() override;
16 void platformDestroy() 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
22 void *wlDisplay() const override;
23private:
24 QSize mScreenSize;
25 EGLNativeDisplayType mNativeDisplay;
26 wl_display *mWaylandDisplay;
27};
28
30
31#endif
EGLNativeDisplayType platformDisplay() const override
void destroyNativeWindow(EGLNativeWindowType window) override
EGLNativeWindowType createNativeWindow(QPlatformWindow *window, const QSize &size, const QSurfaceFormat &format) 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]