![]() |
Qt 6.x
The Qt SDK
|
#include <QGuiApplication>#include <private/qdrawhelper_p.h>#include <private/qimage_p.h>#include <private/qimagepixmapcleanuphooks_p.h>#include "qxcbnativepainting.h"#include "qpixmap_x11_p.h"#include "qcolormap_x11_p.h"#include "qpaintengine_x11_p.h"
Include dependency graph for qpixmap_x11.cpp:Go to the source code of this file.
Classes | |
| struct | QXImageWrapper |
| struct | QX11AlphaDetector |
Macros | |
| #define | GET_PIXEL |
| #define | GET_PIXEL_DITHER_TC |
| #define | GET_PIXEL_DITHER_TC_OPT(red_shift, green_shift, blue_shift, red_mask, green_mask, blue_mask, rbits, gbits, bbits) |
| #define | CYCLE(body) |
Functions | |
| QT_BEGIN_NAMESPACE Q_ALWAYS_INLINE uint | PREMUL (uint x) |
| QPixmap | qt_toX11Pixmap (const QImage &image) |
| QPixmap | qt_toX11Pixmap (const QPixmap &pixmap) |
| static void | qSafeXDestroyImage (XImage *x) |
| Drawable | qt_x11Handle (const QPixmap &pixmap) |
| static int | highest_bit (uint v) |
| static uint | n_bits (uint v) |
| static void | cleanup_scale_tables () |
| static void | build_scale_table (uint **table, uint nBits) |
| int | qt_x11SetDefaultScreen (int screen) |
| void | qt_x11SetScreen (QPixmap &pixmap, int screen) |
Variables | |
| static uint * | red_scale_table = nullptr |
| static uint * | green_scale_table = nullptr |
| static uint * | blue_scale_table = nullptr |
| static int | defaultScreen = -1 |
| QBasicAtomicInt | qt_pixmap_serial = Q_BASIC_ATOMIC_INITIALIZER(0) |
| int Q_GUI_EXPORT | qt_x11_preferred_pixmap_depth = 0 |
| #define CYCLE | ( | body | ) |
| #define GET_PIXEL |
| #define GET_PIXEL_DITHER_TC |
| #define GET_PIXEL_DITHER_TC_OPT | ( | red_shift, | |
| green_shift, | |||
| blue_shift, | |||
| red_mask, | |||
| green_mask, | |||
| blue_mask, | |||
| rbits, | |||
| gbits, | |||
| bbits | |||
| ) |
Definition at line 264 of file qpixmap_x11.cpp.
References cleanup_scale_tables(), i, qAddPostRoutine(), and qWarning.
Here is the call graph for this function:
|
static |
Definition at line 253 of file qpixmap_x11.cpp.
References blue_scale_table, green_scale_table, and red_scale_table.
Referenced by build_scale_table().
Here is the caller graph for this function:
|
static |
Definition at line 229 of file qpixmap_x11.cpp.
References i.
Referenced by QX11PlatformPixmap::fromImage().
Here is the caller graph for this function:Definition at line 239 of file qpixmap_x11.cpp.
References i.
Referenced by QX11PlatformPixmap::fromImage().
Here is the caller graph for this function:| QT_BEGIN_NAMESPACE Q_ALWAYS_INLINE uint PREMUL | ( | uint | x | ) |
Definition at line 29 of file qpixmap_x11.cpp.
Referenced by QX11PlatformPixmap::fill().
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 76 of file qpixmap_x11.cpp.
Referenced by QX11PlatformPixmap::fromImage(), QX11PlatformPixmap::toImage(), and QX11PlatformPixmap::transformed().
Here is the caller graph for this function:Definition at line 50 of file qpixmap_x11.cpp.
References Qt::AutoColor, QPlatformPixmap::BitmapType, QX11PlatformPixmap::fromImage(), and QPlatformPixmap::PixmapType.
Referenced by qt_toX11Pixmap().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 62 of file qpixmap_x11.cpp.
References data_ptr(), pixmap, qt_toX11Pixmap(), and QPlatformPixmap::X11Class.
Referenced by QX11PaintEngine::drawPixmap(), and QX11PaintEngine::updateBrush().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 210 of file qpixmap_x11.cpp.
References pixmap, QPlatformPixmap::X11Class, and XNone.
| int qt_x11SetDefaultScreen | ( | int | screen | ) |
Definition at line 287 of file qpixmap_x11.cpp.
References defaultScreen, and screen.
Referenced by QX11PaintEngine::begin(), QX11PaintEngine::drawPixmap(), and QX11PaintEngine::drawTiledPixmap().
Here is the caller graph for this function:Definition at line 294 of file qpixmap_x11.cpp.
Referenced by QX11PaintEngine::drawPixmap(), QX11PaintEngine::drawTiledPixmap(), qt_patternForAlpha(), and QX11PaintEngine::updateBrush().
Here is the caller graph for this function:Definition at line 251 of file qpixmap_x11.cpp.
Referenced by cleanup_scale_tables().
|
static |
Definition at line 285 of file qpixmap_x11.cpp.
Referenced by QAndroidPlatformIntegration::QAndroidPlatformIntegration(), QOffscreenIntegration::defaultConfiguration(), QX11PlatformPixmap::fromImage(), qt_x11SetDefaultScreen(), and QX11PlatformPixmap::resize().
Definition at line 250 of file qpixmap_x11.cpp.
Referenced by cleanup_scale_tables().
| QBasicAtomicInt qt_pixmap_serial = Q_BASIC_ATOMIC_INITIALIZER(0) |
Definition at line 331 of file qpixmap_x11.cpp.
Referenced by QX11PlatformPixmap::copy(), QX11PlatformPixmap::fromImage(), QX11PlatformPixmap::resize(), and QX11PlatformPixmap::transformed().
| int Q_GUI_EXPORT qt_x11_preferred_pixmap_depth = 0 |
Definition at line 332 of file qpixmap_x11.cpp.
Referenced by QX11PlatformPixmap::fromImage(), and QX11PlatformPixmap::resize().
Definition at line 249 of file qpixmap_x11.cpp.
Referenced by cleanup_scale_tables().