![]() |
Qt 6.x
The Qt SDK
|
#include "qxcbbackingstore.h"
#include "qxcbconnection.h"
#include "qxcbscreen.h"
#include "qxcbwindow.h"
#include <xcb/shm.h>
#include <xcb/xcb_image.h>
#include <xcb/render.h>
#include <xcb/xcb_renderutil.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <sys/mman.h>
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
#include <qdebug.h>
#include <qpainter.h>
#include <qscreen.h>
#include <QtGui/private/qhighdpiscaling_p.h>
#include <qpa/qplatformgraphicsbuffer.h>
#include <private/qimage_p.h>
#include <qendian.h>
#include <algorithm>
Go to the source code of this file.
Classes | |
class | QXcbBackingStoreImage |
class | QXcbGraphicsBuffer |
Functions | |
static size_t | imageDataSize (const xcb_image_t *image) |
void | qt_scrollRectInImage (QImage &img, const QRect &rect, const QPoint &offset) |
static void | copy_unswapped (char *dst, int dstBytesPerLine, const QImage &img, const QRect &rect) |
template<class Pixel > | |
static void | copy_swapped (char *dst, const int dstStride, const QImage &img, const QRect &rect) |
static QImage | native_sub_image (QByteArray *buffer, const int dstStride, const QImage &src, const QRect &rect, bool swap) |
static quint32 | round_up_scanline (quint32 base, quint32 pad) |
|
inlinestatic |
Definition at line 520 of file qxcbbackingstore.cpp.
|
inlinestatic |
Definition at line 504 of file qxcbbackingstore.cpp.
References leftOffset, and rect.
Referenced by native_sub_image().
|
inlinestatic |
Definition at line 147 of file qxcbbackingstore.cpp.
Referenced by readMask(), and QXcbBackingStoreImage::resize().
|
static |
Definition at line 540 of file qxcbbackingstore.cpp.
References copy_unswapped(), rect, and swap().
Definition at line 289 of file qbackingstore.cpp.
Referenced by QXcbBackingStoreImage::scroll().