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

(fc7676769251a27cbbc6d40d68f04bfe38511a5b)

#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 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 152 of file qlinuxfbdrmscreen.cpp.

◆ depthForDrmFormat()

int depthForDrmFormat ( uint32_t drmFormat)
static

Definition at line 163 of file qlinuxfbdrmscreen.cpp.

◆ formatForDrmFormat()

QImage::Format formatForDrmFormat ( uint32_t drmFormat)
static

Definition at line 180 of file qlinuxfbdrmscreen.cpp.

Variable Documentation

◆ BUFFER_COUNT

QT_BEGIN_NAMESPACE const int BUFFER_COUNT = 2
static

Definition at line 26 of file qlinuxfbdrmscreen.cpp.

Referenced by QLinuxFbDrmScreen::doRedraw().