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
qlinuxfbdrmscreen.cpp File Reference

(8d94499f785f8a5c9be2e6cb1a92fc1fb40e5eee)

#include "qlinuxfbdrmscreen.h"
#include <QLoggingCategory>
#include <QGuiApplication>
#include <QPainter>
#include <QtFbSupport/private/qfbcursor_p.h>
#include <QtFbSupport/private/qfbwindow_p.h>
#include <QtKmsSupport/private/qkmsdevice_p.h>
#include <QtCore/private/qcore_unix_p.h>
#include <sys/mman.h>
#include "moc_qlinuxfbdrmscreen.cpp"
Include dependency graph for qlinuxfbdrmscreen.cpp:

Go to the source code of this file.

Classes

class  QLinuxFbDevice
struct  QLinuxFbDevice::Framebuffer
struct  QLinuxFbDevice::Output

Functions

static QString drmDevicePath (QKmsScreenConfig *screenConfig)
static uint32_t bppForDrmFormat (uint32_t drmFormat)
static int depthForDrmFormat (uint32_t drmFormat)
static QImage::Format formatForDrmFormat (uint32_t drmFormat)

Variables

static QT_BEGIN_NAMESPACE const int BUFFER_COUNT = 2

Function Documentation

◆ bppForDrmFormat()

uint32_t bppForDrmFormat ( uint32_t drmFormat)
static

Definition at line 159 of file qlinuxfbdrmscreen.cpp.

◆ depthForDrmFormat()

int depthForDrmFormat ( uint32_t drmFormat)
static

Definition at line 170 of file qlinuxfbdrmscreen.cpp.

◆ drmDevicePath()

QString drmDevicePath ( QKmsScreenConfig * screenConfig)
static

Definition at line 86 of file qlinuxfbdrmscreen.cpp.

◆ formatForDrmFormat()

QImage::Format formatForDrmFormat ( uint32_t drmFormat)
static

Definition at line 187 of file qlinuxfbdrmscreen.cpp.

Variable Documentation

◆ BUFFER_COUNT

QT_BEGIN_NAMESPACE const int BUFFER_COUNT = 2
static

Definition at line 27 of file qlinuxfbdrmscreen.cpp.

Referenced by QLinuxFbDrmScreen::doRedraw().