QtBase
v6.3.1
|
#include <QtGui/private/qtguiglobal_p.h>
#include "QtCore/qmath.h"
#include "QtGui/qcolor.h"
#include "QtGui/qpainter.h"
#include "QtGui/qimage.h"
#include "QtGui/qrgba64.h"
#include "private/qpixellayout_p.h"
#include "private/qrasterdefs_p.h"
#include <private/qsimd_p.h>
#include <QtCore/qsharedpointer.h>
Go to the source code of this file.
Classes | |
struct | DrawHelper |
struct | quint24 |
struct | LinearGradientValues |
struct | RadialGradientValues |
struct | Operator |
struct | QLinearGradientData |
struct | QRadialGradientData |
struct | QConicalGradientData |
struct | QGradientData |
struct | QTextureData |
struct | QSpanData |
class | QSpanData::Pinnable |
class | QRadialFetchSimd< Simd > |
struct | IntermediateBuffer |
Macros | |
#define | QT_FT_BEGIN_HEADER |
#define | QT_FT_END_HEADER |
#define | Q_DECL_RESTRICT |
#define | Q_DECL_VECTORCALL |
#define | GRADIENT_STOPTABLE_SIZE 1024 |
#define | GRADIENT_STOPTABLE_SIZE_SHIFT 10 |
#define | FETCH_RADIAL_LOOP_PROLOGUE |
#define | FETCH_RADIAL_LOOP_CLAMP_REPEAT index_vec.v = Simd::v_and(v_repeat_mask, Simd::v_toInt(v_index)); |
#define | FETCH_RADIAL_LOOP_CLAMP_REFLECT |
#define | FETCH_RADIAL_LOOP_CLAMP_PAD index_vec.v = Simd::v_toInt(Simd::v_min(v_max, Simd::v_max(v_min, v_index))); |
#define | FETCH_RADIAL_LOOP_EPILOGUE |
#define | FETCH_RADIAL_LOOP(FETCH_RADIAL_LOOP_CLAMP) |
#define | ARGB_COMBINE_ALPHA(argb, alpha) ((((argb >> 24) * alpha) >> 8) << 24) | (argb & 0x00ffffff) |
#define | AMIX(mask) quint32(qMin(((quint64(s)&mask) + (quint64(d)&mask)), quint64(mask))) |
#define | MIX(mask) (qMin(((quint32(s)&mask) + (quint32(d)&mask)), quint32(mask))) |
Typedefs | |
typedef QT_FT_Span | QSpan |
typedef QRgbaFloat< float > | QRgbaFloat32 |
typedef QT_FT_SpanFunc | ProcessSpans |
typedef void(* | BitmapBlitFunc) (QRasterBuffer *rasterBuffer, int x, int y, const QRgba64 &color, const uchar *bitmap, int mapWidth, int mapHeight, int mapStride) |
typedef void(* | AlphamapBlitFunc) (QRasterBuffer *rasterBuffer, int x, int y, const QRgba64 &color, const uchar *bitmap, int mapWidth, int mapHeight, int mapStride, const QClipData *clip, bool useGammaCorrection) |
typedef void(* | AlphaRGBBlitFunc) (QRasterBuffer *rasterBuffer, int x, int y, const QRgba64 &color, const uint *rgbmask, int mapWidth, int mapHeight, int mapStride, const QClipData *clip, bool useGammaCorrection) |
typedef void(* | RectFillFunc) (QRasterBuffer *rasterBuffer, int x, int y, int width, int height, const QRgba64 &color) |
typedef void(* | SrcOverBlendFunc) (uchar *destPixels, int dbpl, const uchar *src, int spbl, int w, int h, int const_alpha) |
typedef void(* | SrcOverScaleFunc) (uchar *destPixels, int dbpl, const uchar *src, int spbl, int srch, const QRectF &targetRect, const QRectF &sourceRect, const QRect &clipRect, int const_alpha) |
typedef void(* | SrcOverTransformFunc) (uchar *destPixels, int dbpl, const uchar *src, int spbl, const QRectF &targetRect, const QRectF &sourceRect, const QRect &clipRect, const QTransform &targetRectTransform, int const_alpha) |
typedef void(QT_FASTCALL * | CompositionFunction) (uint *Q_DECL_RESTRICT dest, const uint *Q_DECL_RESTRICT src, int length, uint const_alpha) |
typedef void(QT_FASTCALL * | CompositionFunction64) (QRgba64 *Q_DECL_RESTRICT dest, const QRgba64 *Q_DECL_RESTRICT src, int length, uint const_alpha) |
typedef void(QT_FASTCALL * | CompositionFunctionFP) (QRgbaFloat32 *Q_DECL_RESTRICT dest, const QRgbaFloat32 *Q_DECL_RESTRICT src, int length, uint const_alpha) |
typedef void(QT_FASTCALL * | CompositionFunctionSolid) (uint *dest, int length, uint color, uint const_alpha) |
typedef void(QT_FASTCALL * | CompositionFunctionSolid64) (QRgba64 *dest, int length, QRgba64 color, uint const_alpha) |
typedef void(QT_FASTCALL * | CompositionFunctionSolidFP) (QRgbaFloat32 *dest, int length, QRgbaFloat32 color, uint const_alpha) |
typedef uint *QT_FASTCALL * | DestFetchProc(uint *buffer, QRasterBuffer *rasterBuffer, int x, int y, int length) |
typedef QRgba64 *(QT_FASTCALL * | DestFetchProc64) (QRgba64 *buffer, QRasterBuffer *rasterBuffer, int x, int y, int length) |
typedef QRgbaFloat32 *(QT_FASTCALL * | DestFetchProcFP) (QRgbaFloat32 *buffer, QRasterBuffer *rasterBuffer, int x, int y, int length) |
typedef void(QT_FASTCALL * | DestStoreProc) (QRasterBuffer *rasterBuffer, int x, int y, const uint *buffer, int length) |
typedef void(QT_FASTCALL * | DestStoreProc64) (QRasterBuffer *rasterBuffer, int x, int y, const QRgba64 *buffer, int length) |
typedef void(QT_FASTCALL * | DestStoreProcFP) (QRasterBuffer *rasterBuffer, int x, int y, const QRgbaFloat32 *buffer, int length) |
typedef const uint *(QT_FASTCALL * | SourceFetchProc) (uint *buffer, const Operator *o, const QSpanData *data, int y, int x, int length) |
typedef const QRgba64 *(QT_FASTCALL * | SourceFetchProc64) (QRgba64 *buffer, const Operator *o, const QSpanData *data, int y, int x, int length) |
typedef const QRgbaFloat32 *(QT_FASTCALL * | SourceFetchProcFP) (QRgbaFloat32 *buffer, const Operator *o, const QSpanData *data, int y, int x, int length) |
Definition at line 1057 of file qdrawhelper_p.h.
#define ARGB_COMBINE_ALPHA | ( | argb, | |
alpha | |||
) | ((((argb >> 24) * alpha) >> 8) << 24) | (argb & 0x00ffffff) |
Definition at line 1048 of file qdrawhelper_p.h.
#define FETCH_RADIAL_LOOP | ( | FETCH_RADIAL_LOOP_CLAMP | ) |
#define FETCH_RADIAL_LOOP_CLAMP_PAD index_vec.v = Simd::v_toInt(Simd::v_min(v_max, Simd::v_max(v_min, v_index))); |
#define FETCH_RADIAL_LOOP_CLAMP_REFLECT |
#define FETCH_RADIAL_LOOP_CLAMP_REPEAT index_vec.v = Simd::v_and(v_repeat_mask, Simd::v_toInt(v_index)); |
#define FETCH_RADIAL_LOOP_EPILOGUE |
#define FETCH_RADIAL_LOOP_PROLOGUE |
#define GRADIENT_STOPTABLE_SIZE 1024 |
Definition at line 309 of file qdrawhelper_p.h.
#define GRADIENT_STOPTABLE_SIZE_SHIFT 10 |
Definition at line 310 of file qdrawhelper_p.h.
Definition at line 1058 of file qdrawhelper_p.h.
#define Q_DECL_RESTRICT |
Definition at line 83 of file qdrawhelper_p.h.
#define Q_DECL_VECTORCALL |
Definition at line 84 of file qdrawhelper_p.h.
#define QT_FT_BEGIN_HEADER |
Definition at line 61 of file qdrawhelper_p.h.
#define QT_FT_END_HEADER |
Definition at line 62 of file qdrawhelper_p.h.
typedef void(* AlphamapBlitFunc) (QRasterBuffer *rasterBuffer, int x, int y, const QRgba64 &color, const uchar *bitmap, int mapWidth, int mapHeight, int mapStride, const QClipData *clip, bool useGammaCorrection) |
Definition at line 120 of file qdrawhelper_p.h.
typedef void(* AlphaRGBBlitFunc) (QRasterBuffer *rasterBuffer, int x, int y, const QRgba64 &color, const uint *rgbmask, int mapWidth, int mapHeight, int mapStride, const QClipData *clip, bool useGammaCorrection) |
Definition at line 126 of file qdrawhelper_p.h.
typedef void(* BitmapBlitFunc) (QRasterBuffer *rasterBuffer, int x, int y, const QRgba64 &color, const uchar *bitmap, int mapWidth, int mapHeight, int mapStride) |
Definition at line 115 of file qdrawhelper_p.h.
typedef void(QT_FASTCALL * CompositionFunction) (uint *Q_DECL_RESTRICT dest, const uint *Q_DECL_RESTRICT src, int length, uint const_alpha) |
Definition at line 198 of file qdrawhelper_p.h.
typedef void(QT_FASTCALL * CompositionFunction64) (QRgba64 *Q_DECL_RESTRICT dest, const QRgba64 *Q_DECL_RESTRICT src, int length, uint const_alpha) |
Definition at line 199 of file qdrawhelper_p.h.
typedef void(QT_FASTCALL * CompositionFunctionFP) (QRgbaFloat32 *Q_DECL_RESTRICT dest, const QRgbaFloat32 *Q_DECL_RESTRICT src, int length, uint const_alpha) |
Definition at line 200 of file qdrawhelper_p.h.
typedef void(QT_FASTCALL * CompositionFunctionSolid) (uint *dest, int length, uint color, uint const_alpha) |
Definition at line 201 of file qdrawhelper_p.h.
typedef void(QT_FASTCALL * CompositionFunctionSolid64) (QRgba64 *dest, int length, QRgba64 color, uint const_alpha) |
Definition at line 202 of file qdrawhelper_p.h.
typedef void(QT_FASTCALL * CompositionFunctionSolidFP) (QRgbaFloat32 *dest, int length, QRgbaFloat32 color, uint const_alpha) |
Definition at line 203 of file qdrawhelper_p.h.
typedef uint* QT_FASTCALL* DestFetchProc(uint *buffer, QRasterBuffer *rasterBuffer, int x, int y, int length) |
Definition at line 225 of file qdrawhelper_p.h.
typedef QRgba64*(QT_FASTCALL * DestFetchProc64) (QRgba64 *buffer, QRasterBuffer *rasterBuffer, int x, int y, int length) |
Definition at line 226 of file qdrawhelper_p.h.
typedef QRgbaFloat32*(QT_FASTCALL * DestFetchProcFP) (QRgbaFloat32 *buffer, QRasterBuffer *rasterBuffer, int x, int y, int length) |
Definition at line 227 of file qdrawhelper_p.h.
typedef void(QT_FASTCALL * DestStoreProc) (QRasterBuffer *rasterBuffer, int x, int y, const uint *buffer, int length) |
Definition at line 228 of file qdrawhelper_p.h.
typedef void(QT_FASTCALL * DestStoreProc64) (QRasterBuffer *rasterBuffer, int x, int y, const QRgba64 *buffer, int length) |
Definition at line 229 of file qdrawhelper_p.h.
typedef void(QT_FASTCALL * DestStoreProcFP) (QRasterBuffer *rasterBuffer, int x, int y, const QRgbaFloat32 *buffer, int length) |
Definition at line 230 of file qdrawhelper_p.h.
typedef QT_FT_SpanFunc ProcessSpans |
Definition at line 114 of file qdrawhelper_p.h.
typedef QRgbaFloat<float> QRgbaFloat32 |
Definition at line 112 of file qdrawhelper_p.h.
|
related |
Definition at line 97 of file qdrawhelper_p.h.
typedef void(* RectFillFunc) (QRasterBuffer *rasterBuffer, int x, int y, int width, int height, const QRgba64 &color) |
Definition at line 132 of file qdrawhelper_p.h.
typedef const uint*(QT_FASTCALL * SourceFetchProc) (uint *buffer, const Operator *o, const QSpanData *data, int y, int x, int length) |
Definition at line 231 of file qdrawhelper_p.h.
typedef const QRgba64*(QT_FASTCALL * SourceFetchProc64) (QRgba64 *buffer, const Operator *o, const QSpanData *data, int y, int x, int length) |
Definition at line 232 of file qdrawhelper_p.h.
typedef const QRgbaFloat32*(QT_FASTCALL * SourceFetchProcFP) (QRgbaFloat32 *buffer, const Operator *o, const QSpanData *data, int y, int x, int length) |
Definition at line 233 of file qdrawhelper_p.h.
typedef void(* SrcOverBlendFunc) (uchar *destPixels, int dbpl, const uchar *src, int spbl, int w, int h, int const_alpha) |
Definition at line 136 of file qdrawhelper_p.h.
typedef void(* SrcOverScaleFunc) (uchar *destPixels, int dbpl, const uchar *src, int spbl, int srch, const QRectF &targetRect, const QRectF &sourceRect, const QRect &clipRect, int const_alpha) |
Definition at line 141 of file qdrawhelper_p.h.
typedef void(* SrcOverTransformFunc) (uchar *destPixels, int dbpl, const uchar *src, int spbl, const QRectF &targetRect, const QRectF &sourceRect, const QRect &clipRect, const QTransform &targetRectTransform, int const_alpha) |
Definition at line 148 of file qdrawhelper_p.h.
|
inline |
Definition at line 1061 of file qdrawhelper_p.h.
Definition at line 977 of file qdrawhelper_p.h.
Definition at line 952 of file qdrawhelper_p.h.
Definition at line 6190 of file qdrawhelper.cpp.
Definition at line 6148 of file qdrawhelper.cpp.
|
extern |
Definition at line 585 of file qblendfunctions.cpp.
|
extern |
Definition at line 5861 of file qdrawhelper.cpp.
|
extern |
Definition at line 584 of file qblendfunctions.cpp.
Definition at line 1013 of file qdrawhelper_p.h.
|
extern |
Definition at line 586 of file qblendfunctions.cpp.