Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qdrawhelper_loongarch64_p.h
Go to the documentation of this file.
1// Copyright (C) 2024 Loongson Technology Corporation Limited.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QDRAWHELPER_LOONGARCH64_P_H
5#define QDRAWHELPER_LOONGARCH64_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtGui/private/qtguiglobal_p.h>
19#include <private/qdrawhelper_p.h>
20
22
23#ifdef QT_COMPILER_SUPPORTS_LSX
24void qt_memfill64_lsx(quint64 *dest, quint64 value, qsizetype count);
25void qt_memfill32_lsx(quint32 *dest, quint32 value, qsizetype count);
26void qt_bitmapblit32_lsx(QRasterBuffer *rasterBuffer, int x, int y,
27 const QRgba64 &color,
28 const uchar *src, int width, int height, int stride);
29void qt_bitmapblit8888_lsx(QRasterBuffer *rasterBuffer, int x, int y,
30 const QRgba64 &color,
31 const uchar *src, int width, int height, int stride);
32void qt_bitmapblit16_lsx(QRasterBuffer *rasterBuffer, int x, int y,
33 const QRgba64 &color,
34 const uchar *src, int width, int height, int stride);
35void qt_blend_argb32_on_argb32_lsx(uchar *destPixels, int dbpl,
36 const uchar *srcPixels, int sbpl,
37 int w, int h,
38 int const_alpha);
39void qt_blend_rgb32_on_rgb32_lsx(uchar *destPixels, int dbpl,
40 const uchar *srcPixels, int sbpl,
41 int w, int h,
42 int const_alpha);
43
44#endif // QT_COMPILER_SUPPORTS_LSX
45
46#ifdef QT_COMPILER_SUPPORTS_LASX
47void qt_memfill64_lasx(quint64 *dest, quint64 value, qsizetype count);
48void qt_memfill32_lasx(quint32 *dest, quint32 value, qsizetype count);
49#endif // QT_COMPILER_SUPPORTS_LASX
50
51QT_END_NAMESPACE
52
53#endif // QDRAWHELPER_LOONGARCH64_P_H