Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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()

static uint32_t bppForDrmFormat ( uint32_t drmFormat)
static

Definition at line 152 of file qlinuxfbdrmscreen.cpp.

References DRM_FORMAT_RGB565.

◆ depthForDrmFormat()

static int depthForDrmFormat ( uint32_t drmFormat)
static

Definition at line 163 of file qlinuxfbdrmscreen.cpp.

References DRM_FORMAT_RGB565.

Referenced by QLinuxFbDrmScreen::initialize().

+ Here is the caller graph for this function:

◆ formatForDrmFormat()

static QImage::Format formatForDrmFormat ( uint32_t drmFormat)
static

Definition at line 180 of file qlinuxfbdrmscreen.cpp.

References DRM_FORMAT_ABGR8888, DRM_FORMAT_RGB565, QImage::Format_A2RGB30_Premultiplied, QImage::Format_ARGB32, QImage::Format_RGB16, QImage::Format_RGB30, and QImage::Format_RGB32.

Referenced by QLinuxFbDrmScreen::initialize().

+ Here is the caller graph for this function:

Variable Documentation

◆ BUFFER_COUNT