(02de77535f2a94cbeb7e0ea01895ba4e556e165c)
#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.
|
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) |
◆ copy_swapped()
void copy_swapped |
( |
char * | dst, |
|
|
const int | dstStride, |
|
|
const QImage & | img, |
|
|
const QRect & | rect ) |
|
inlinestatic |
◆ copy_unswapped()
void copy_unswapped |
( |
char * | dst, |
|
|
int | dstBytesPerLine, |
|
|
const QImage & | img, |
|
|
const QRect & | rect ) |
|
inlinestatic |
◆ imageDataSize()
size_t imageDataSize |
( |
const xcb_image_t * | image | ) |
|
|
inlinestatic |
◆ native_sub_image()
◆ qt_scrollRectInImage()
◆ round_up_scanline()