diff options
Diffstat (limited to 'src/gui/painting/qdrawhelper_x86_p.h')
-rw-r--r-- | src/gui/painting/qdrawhelper_x86_p.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/gui/painting/qdrawhelper_x86_p.h b/src/gui/painting/qdrawhelper_x86_p.h index 93abaf4fff..eb434e5fda 100644 --- a/src/gui/painting/qdrawhelper_x86_p.h +++ b/src/gui/painting/qdrawhelper_x86_p.h @@ -79,6 +79,25 @@ extern CompositionFunction qt_functionForMode_SSE2[]; extern CompositionFunctionSolid qt_functionForModeSolid_SSE2[]; #endif // QT_HAVE_SSE2 +#ifdef QT_HAVE_AVX +void qt_memfill32_avx(quint32 *dest, quint32 value, int count); +void qt_memfill16_avx(quint16 *dest, quint16 value, int count); +void qt_bitmapblit32_avx(QRasterBuffer *rasterBuffer, int x, int y, + quint32 color, + const uchar *src, int width, int height, int stride); +void qt_bitmapblit16_avx(QRasterBuffer *rasterBuffer, int x, int y, + quint32 color, + const uchar *src, int width, int height, int stride); +void qt_blend_argb32_on_argb32_avx(uchar *destPixels, int dbpl, + const uchar *srcPixels, int sbpl, + int w, int h, + int const_alpha); +void qt_blend_rgb32_on_rgb32_avx(uchar *destPixels, int dbpl, + const uchar *srcPixels, int sbpl, + int w, int h, + int const_alpha); +#endif // QT_HAVE_AVX + #ifdef QT_HAVE_IWMMXT void qt_blend_color_argb_iwmmxt(int count, const QSpan *spans, void *userData); |