Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qeglfskmsegldeviceintegration.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// Copyright (C) 2016 Pelagicore AG
3
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4
// Qt-Security score:significant reason:default
5
6
#
ifndef
QEGLFSKMSEGLDEVICEINTEGRATION_H
7
#
define
QEGLFSKMSEGLDEVICEINTEGRATION_H
8
9
#
include
<
private
/
qeglfskmsintegration_p
.
h
>
10
11
#
include
<
xf86drm
.
h
>
12
#
include
<
xf86drmMode
.
h
>
13
14
#
include
<
QtGui
/
private
/
qeglstreamconvenience_p
.
h
>
15
16
QT_BEGIN_NAMESPACE
17
18
class
QEglFSKmsEglDeviceIntegration :
public
QEglFSKmsIntegration
19
{
20
public
:
21
QEglFSKmsEglDeviceIntegration();
22
23
QSurfaceFormat surfaceFormatFor(
const
QSurfaceFormat &inputFormat)
const
override;
24
EGLint surfaceType()
const
override;
25
EGLDisplay createDisplay(EGLNativeDisplayType nativeDisplay) override;
26
bool
supportsSurfacelessContexts()
const
override;
27
bool
supportsPBuffers()
const
override;
28
QEglFSWindow *createWindow(QWindow *window)
const
override;
29
30
EGLDeviceEXT eglDevice()
const
{
return
m_egl_device; }
31
32
protected
:
33
QKmsDevice *createDevice() override;
34
QPlatformCursor *createCursor(QPlatformScreen *screen)
const
override;
35
36
private
:
37
bool
setup_kms();
38
bool
query_egl_device();
39
40
EGLDeviceEXT m_egl_device;
41
QEGLStreamConvenience *m_funcs;
42
43
friend
class
QEglFSKmsEglDeviceWindow;
44
};
45
46
QT_END_NAMESPACE
47
48
#
endif
QEglFSKmsEglDeviceScreen
Definition
qeglfskmsegldevicescreen.h:13
QEglFSKmsEglDeviceScreen::QEglFSKmsEglDeviceScreen
QEglFSKmsEglDeviceScreen(QEglFSKmsDevice *device, const QKmsOutput &output)
Definition
qeglfskmsegldevicescreen.cpp:16
QEglFSKmsEglDeviceScreen::cursor
QPlatformCursor * cursor() const override
Reimplement this function in subclass to return the cursor of the screen.
Definition
qeglfskmsegldevicescreen.cpp:80
QEglFSKmsEglDeviceScreen::waitForFlip
void waitForFlip() override
Definition
qeglfskmsegldevicescreen.cpp:92
QEglFSKmsEglDeviceScreen::~QEglFSKmsEglDeviceScreen
~QEglFSKmsEglDeviceScreen()
Definition
qeglfskmsegldevicescreen.cpp:54
QEglFSKmsEglDevice
Definition
qeglfskmsegldevice.h:16
QEglFSKmsEglDevice::createScreen
QPlatformScreen * createScreen(const QKmsOutput &output) override
Definition
qeglfskmsegldevice.cpp:55
QEglFSKmsEglDevice::open
bool open() override
Definition
qeglfskmsegldevice.cpp:22
QEglFSKmsEglDevice::close
void close() override
Definition
qeglfskmsegldevice.cpp:40
QEglFSKmsEglDevice::globalCursor
QPlatformCursor * globalCursor()
Definition
qeglfskmsegldevice.h:27
QEglFSKmsEglDevice::destroyGlobalCursor
void destroyGlobalCursor()
Definition
qeglfskmsegldevice.cpp:67
QEglFSKmsEglDevice::nativeDisplay
void * nativeDisplay() const override
Definition
qeglfskmsegldevice.cpp:50
QEglFSKmsEglDevice::QEglFSKmsEglDevice
QEglFSKmsEglDevice(QEglFSKmsEglDeviceIntegration *devInt, QKmsScreenConfig *screenConfig, const QString &path)
Definition
qeglfskmsegldevice.cpp:15
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtbase
src
plugins
platforms
eglfs
deviceintegration
eglfs_kms_egldevice
qeglfskmsegldeviceintegration.h
Generated on
for Qt by
1.18.0