diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-11-07 17:40:06 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-11-11 16:48:51 +0000 |
commit | 660d4a0131adeb796ac2d9ee5927402f57a8e8e3 (patch) | |
tree | 53a9e402cfae5d2b8b4053db5f2398599762c4cb /src/gui/painting/qdrawhelper_p.h | |
parent | efb74636567d9eff3366e439faf37eea5d6d3668 (diff) |
Expand QSpan typedef to underlying type QT_FT_Span
This frees up the QSpan name for the planned QtCore std::span
reimplementation, also called QSpan.
This is binary compatible because QSpan was just a typedef and because
it's all private API.
Task-number: QTBUG-108124
Change-Id: I3b5c1ea82673934e2d1eb490fddeae3f8e6a6ea3
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/gui/painting/qdrawhelper_p.h')
-rw-r--r-- | src/gui/painting/qdrawhelper_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/painting/qdrawhelper_p.h b/src/gui/painting/qdrawhelper_p.h index 5b6f5ce216..ba723890ff 100644 --- a/src/gui/painting/qdrawhelper_p.h +++ b/src/gui/painting/qdrawhelper_p.h @@ -147,8 +147,8 @@ struct quint24 { uchar data[3]; }; -void qBlendGradient(int count, const QSpan *spans, void *userData); -void qBlendTexture(int count, const QSpan *spans, void *userData); +void qBlendGradient(int count, const QT_FT_Span *spans, void *userData); +void qBlendTexture(int count, const QT_FT_Span *spans, void *userData); #ifdef __SSE2__ extern void (*qt_memfill64)(quint64 *dest, quint64 value, qsizetype count); extern void (*qt_memfill32)(quint32 *dest, quint32 value, qsizetype count); |