benchmark painting on and of mono image formats

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-11-11 01:05:18 +02:00
parent 9b764b425d
commit 1396f53698

View file

@ -598,8 +598,8 @@ void tst_QPainter::drawPixmap_data()
"RGB16", "RGB16",
}; };
for (int tar=3; tar<QImage::NImageFormats; ++tar) { for (int tar=1; tar<QImage::NImageFormats; ++tar) {
for (int src=3; src<QImage::NImageFormats; ++src) { for (int src=1; src<QImage::NImageFormats; ++src) {
foreach (const QSize &s, sizes) { foreach (const QSize &s, sizes) {
for (int type=0; type<=3; ++type) { for (int type=0; type<=3; ++type) {