summaryrefslogtreecommitdiffstats
path: root/src/gui/rhi/qrhi_p_p.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2021-02-03 18:07:47 +0100
committerLaszlo Agocs <laszlo.agocs@qt.io>2021-03-30 16:43:35 +0200
commit7ccd2d02463f8076631bc45e5bf1386c61037dc7 (patch)
tree02614d53f737f1c4aa56549221262d43e3cbc2fc /src/gui/rhi/qrhi_p_p.h
parent5ce367a55224c862c11aaf5945ddf7bd3c934600 (diff)
rhi: Add support for custom bytes-per-line for uncompressed raw data
Fixes: QTBUG-90770 Change-Id: Icba328c417bcce256e7b44f1d540af7f8e83376b Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Strømme <christian.stromme@qt.io>
Diffstat (limited to 'src/gui/rhi/qrhi_p_p.h')
-rw-r--r--src/gui/rhi/qrhi_p_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/rhi/qrhi_p_p.h b/src/gui/rhi/qrhi_p_p.h
index fc9c99af7e..f33626ae1d 100644
--- a/src/gui/rhi/qrhi_p_p.h
+++ b/src/gui/rhi/qrhi_p_p.h
@@ -179,7 +179,7 @@ public:
quint32 *bpl, quint32 *byteSize,
QSize *blockDim) const;
void textureFormatInfo(QRhiTexture::Format format, const QSize &size,
- quint32 *bpl, quint32 *byteSize) const;
+ quint32 *bpl, quint32 *byteSize, quint32 *bytesPerPixel) const;
quint32 approxByteSizeForTexture(QRhiTexture::Format format, const QSize &baseSize,
int mipCount, int layerCount);