Merge "Fix tst_qgraphicseffect on Wayland"
This commit is contained in:
commit
3416e5423e
@ -456,10 +456,9 @@ void tst_QBrush::textureBrushStream()
|
|||||||
|
|
||||||
QCOMPARE(loadedBrush1.style(), Qt::TexturePattern);
|
QCOMPARE(loadedBrush1.style(), Qt::TexturePattern);
|
||||||
QCOMPARE(loadedBrush2.style(), Qt::TexturePattern);
|
QCOMPARE(loadedBrush2.style(), Qt::TexturePattern);
|
||||||
#ifdef Q_OS_ANDROID
|
// pixmaps may have been converted to system format
|
||||||
QEXPECT_FAIL("", "QTBUG-69193", Continue);
|
QCOMPARE(loadedBrush1.texture().toImage().convertToFormat(QImage::Format_ARGB32_Premultiplied),
|
||||||
#endif
|
pixmap_source.toImage().convertToFormat(QImage::Format_ARGB32_Premultiplied));
|
||||||
QCOMPARE(loadedBrush1.texture(), pixmap_source);
|
|
||||||
QCOMPARE(loadedBrush2.textureImage(), image_source);
|
QCOMPARE(loadedBrush2.textureImage(), image_source);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -694,6 +694,7 @@ void tst_QGraphicsEffect::prepareGeometryChangeInvalidateCache()
|
|||||||
QGraphicsView view(&scene);
|
QGraphicsView view(&scene);
|
||||||
view.show();
|
view.show();
|
||||||
QVERIFY(QTest::qWaitForWindowExposed(&view));
|
QVERIFY(QTest::qWaitForWindowExposed(&view));
|
||||||
|
QTRY_VERIFY(view.windowHandle()->isActive());
|
||||||
QTRY_VERIFY(item->nbPaint >= 1);
|
QTRY_VERIFY(item->nbPaint >= 1);
|
||||||
|
|
||||||
item->nbPaint = 0;
|
item->nbPaint = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user