diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2018-11-02 15:46:52 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2018-11-11 06:07:31 +0000 |
commit | 6c1339ef4b44db3c298d1b58389d41c39af4ced5 (patch) | |
tree | e5c240d5fa4543879bc04348643acfb777e2ab7e /src/gui/painting/qdrawhelper_x86_p.h | |
parent | f3652429de599d5cdd5c7e25821244ad9c127e3d (diff) |
Move qt_memfill32-based implementation of qt_memfill16 to generic
The SSE2 implementation and the one in qdrawhelper.cpp are almost
identical. And if we make it so qt_memfill16 can tail-call to
qt_memfill32, there's no need for inlining, so there's no need to keep
it in qdrawhelper_sse2.cpp
Change-Id: I343f2beed55440a7ac0bfffd15637027771c2254
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/gui/painting/qdrawhelper_x86_p.h')
-rw-r--r-- | src/gui/painting/qdrawhelper_x86_p.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/painting/qdrawhelper_x86_p.h b/src/gui/painting/qdrawhelper_x86_p.h index 964d522fd2..12b95abe46 100644 --- a/src/gui/painting/qdrawhelper_x86_p.h +++ b/src/gui/painting/qdrawhelper_x86_p.h @@ -58,7 +58,6 @@ QT_BEGIN_NAMESPACE #ifdef __SSE2__ void qt_memfill32(quint32 *dest, quint32 value, qsizetype count); -void qt_memfill16(quint16 *dest, quint16 value, qsizetype count); void qt_bitmapblit32_sse2(QRasterBuffer *rasterBuffer, int x, int y, const QRgba64 &color, const uchar *src, int width, int height, int stride); |