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
qeglfskmsgbmintegration_p.h
Go to the documentation of this file.
1// Copyright (C) 2015 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
2// Copyright (C) 2016 The Qt Company Ltd.
3// Copyright (C) 2016 Pelagicore AG
4// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
5
6#ifndef QEGLFSKMSGBMINTEGRATION_H
7#define QEGLFSKMSGBMINTEGRATION_H
8
9//
10// W A R N I N G
11// -------------
12//
13// This file is not part of the Qt API. It exists purely as an
14// implementation detail. This header file may change from version to
15// version without notice, or even be removed.
16//
17// We mean it.
18//
19
20#include <private/qeglfskmsintegration_p.h>
21#include <QtCore/QMap>
22#include <QtCore/QVariant>
23
25
26class QEglFSKmsDevice;
27
29{
30public:
32
33 EGLDisplay createDisplay(EGLNativeDisplayType nativeDisplay) override;
34 EGLNativeWindowType createNativeOffscreenWindow(const QSurfaceFormat &format) override;
35 void destroyNativeWindow(EGLNativeWindowType window) override;
36
38 void presentBuffer(QPlatformSurface *surface) override;
39 QEglFSWindow *createWindow(QWindow *window) const override;
40
41protected:
42 QKmsDevice *createDevice() override;
43
44private:
45};
46
48
49#endif // QEGLFSKMSGBMINTEGRATION_H
virtual void presentBuffer(QPlatformSurface *surface)
virtual EGLNativeWindowType createNativeOffscreenWindow(const QSurfaceFormat &format)
virtual QEglFSWindow * createWindow(QWindow *window) const
virtual EGLDisplay createDisplay(EGLNativeDisplayType nativeDisplay)
virtual QPlatformCursor * createCursor(QPlatformScreen *screen) const
virtual void destroyNativeWindow(EGLNativeWindowType window)
virtual QKmsDevice * createDevice()=0
The QPlatformCursor class provides information about pointer device events (movement,...
The QPlatformScreen class provides an abstraction for visual displays.
The QPlatformSurface class provides an abstraction for a surface.
The QSurfaceFormat class represents the format of a QSurface. \inmodule QtGui.
\inmodule QtGui
Definition qwindow.h:63
Combined button and popup list for selecting options.
#define Q_EGLFS_EXPORT
typedef EGLDisplay(EGLAPIENTRYP PFNEGLGETPLATFORMDISPLAYEXTPROC)(EGLenum platform
GLint GLsizei GLsizei GLenum format
QScreen * screen
[1]
Definition main.cpp:29
aWidget window() -> setWindowTitle("New Window Title")
[2]