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
qeglfskmsvsp2integration.h
Go to the documentation of this file.
1// Copyright (C) 2015 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
2// Copyright (C) 2017 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 QEGLFSKMSVSP2INTEGRATION_H
7#define QEGLFSKMSVSP2INTEGRATION_H
8
10#include <QtCore/QMap>
11#include <QtCore/QVariant>
12
14
15class QEglFSKmsDevice;
16
18{
19public:
21
22 EGLDisplay createDisplay(EGLNativeDisplayType nativeDisplay) override;
23 EGLNativeWindowType createNativeOffscreenWindow(const QSurfaceFormat &format) override;
24 void destroyNativeWindow(EGLNativeWindowType window) override;
25
26 void presentBuffer(QPlatformSurface *surface) override;
27 QEglFSWindow *createWindow(QWindow *window) const override;
28
29protected:
31};
32
33QT_END_NAMESPACE
34
35#endif // QEGLFSKMSVSP2INTEGRATION_H
gbm_device * gbmDevice() const
QEglFSWindow * createWindow(QWindow *window) const override
QKmsDevice * createDevice() override
void presentBuffer(QPlatformSurface *surface) override
void destroyNativeWindow(EGLNativeWindowType window) override
EGLNativeWindowType createNativeOffscreenWindow(const QSurfaceFormat &format) override
EGLDisplay createDisplay(EGLNativeDisplayType nativeDisplay) override
QEglFSKmsVsp2Window(QWindow *w, const QEglFSKmsVsp2Integration *integration)
const QEglFSKmsVsp2Integration * m_integration
void invalidateSurface() override
Invalidates the window's surface by releasing its surface buffers.
#define EGL_PLATFORM_GBM_KHR
EGLConfig void * native_window
typedef EGLDisplay(EGLAPIENTRYP PFNEGLGETPLATFORMDISPLAYEXTPROC)(EGLenum platform
typedef EGLSurface(EGLAPIENTRYP PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC)(EGLDisplay dpy
void * native_display
void const EGLint * attrib_list