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
qeglfskmshelpers_p.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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QEGLFSKMSHELPERS_H
6
#
define
QEGLFSKMSHELPERS_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
<
QString
>
20
21
QT_BEGIN_NAMESPACE
22
23
inline
QString
q_fourccToString
(uint code)
24
{
25
QString s;
26
s.reserve(4);
27
s.append(code & 0xff);
28
s.append((code >> 8) & 0xff);
29
s.append((code >> 16) & 0xff);
30
s.append((code >> 24) & 0xff);
31
return
s;
32
}
33
34
QT_END_NAMESPACE
35
36
#
endif
// QEGLFSKMSHELPERS_H
QEglFSKmsVsp2Device
Definition
qeglfskmsvsp2device.h:19
QEglFSKmsVsp2Device::gbmDevice
gbm_device * gbmDevice() const
Definition
qeglfskmsvsp2device.cpp:70
QEglFSKmsVsp2Screen
Definition
qeglfskmsvsp2screen.h:22
QEglFSKmsVsp2Screen::removeLayer
bool removeLayer(int id) override
Definition
qeglfskmsvsp2screen.cpp:165
QEglFSKmsVsp2Screen::resetSurface
void resetSurface()
Definition
qeglfskmsvsp2screen.cpp:95
QEglFSKmsVsp2Screen::setLayerPosition
void setLayerPosition(int id, const QPoint &position) override
Definition
qeglfskmsvsp2screen.cpp:153
QEglFSKmsVsp2Screen::flip
void flip()
Definition
qeglfskmsvsp2screen.cpp:177
QEglFSKmsVsp2Screen::createSurface
gbm_surface * createSurface()
Definition
qeglfskmsvsp2screen.cpp:73
QEglFSKmsVsp2Screen::setLayerBuffer
void setLayerBuffer(int id, int dmabufFd) override
Definition
qeglfskmsvsp2screen.cpp:143
QEglFSKmsVsp2Screen::initQtLayer
void initQtLayer()
Definition
qeglfskmsvsp2screen.cpp:115
QEglFSKmsVsp2Screen::addBlendListener
void addBlendListener(void(*callback)()) override
Definition
qeglfskmsvsp2screen.cpp:172
QEglFSKmsVsp2Screen::addLayer
int addLayer(int dmabufFd, const QSize &size, const QPoint &position, uint drmPixelFormat, uint bytesPerLine) override
Definition
qeglfskmsvsp2screen.cpp:130
QEglFSKmsVsp2Screen::setLayerAlpha
void setLayerAlpha(int id, qreal alpha) override
Definition
qeglfskmsvsp2screen.cpp:159
QEglFSKmsVsp2Screen::blendAndFlipDrm
void blendAndFlipDrm()
Definition
qeglfskmsvsp2screen.cpp:235
QEglFSKmsVsp2Screen::initDumbFrameBuffers
void initDumbFrameBuffers()
Definition
qeglfskmsvsp2screen.cpp:100
QEglFSKmsVsp2Screen::initVsp2
void initVsp2()
Definition
qeglfskmsvsp2screen.cpp:106
QEglFSKmsVsp2Screen::QEglFSKmsVsp2Screen
QEglFSKmsVsp2Screen(QEglFSKmsDevice *device, const QKmsOutput &output)
Definition
qeglfskmsvsp2screen.cpp:67
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
q_fourccToString
QT_BEGIN_NAMESPACE QString q_fourccToString(uint code)
Definition
qeglfskmshelpers_p.h:23
drmFormatToGbmFormat
static QT_BEGIN_NAMESPACE uint32_t drmFormatToGbmFormat(uint32_t drmFormat)
Definition
qeglfskmsvsp2screen.cpp:29
gbmFormatToDrmFormat
static uint32_t gbmFormatToDrmFormat(uint32_t gbmFormat)
Definition
qeglfskmsvsp2screen.cpp:35
Q_DECLARE_LOGGING_CATEGORY
QT_BEGIN_NAMESPACE Q_DECLARE_LOGGING_CATEGORY(lcQIORing)
qtbase
src
plugins
platforms
eglfs
deviceintegration
eglfs_kms_support
qeglfskmshelpers_p.h
Generated on
for Qt by
1.18.0