qt5base-lts/tests/auto/other/lancelot
Tor Arne Vestbø 2d1189d9f2 lance: Ensure that OpenGL FBO is cleared before being used as surface
Merely filling with Qt::transparent is not enough, as the default blend
mode of QPainter is QPainter::CompositionMode_SourceOver, where the alpha
of the source is used to blend the pixel on top of the destination. The
destination in the case of an FBO may contain garbage, and we end up with
the same garbage as the alpha is 0.

This was evident when running the ellipses and porter_duff/porter_duff2
tests on OS X. These tests can now be un-blacklisted.

Change-Id: I315fa764fa29fb3a06e38945a738a6feadf4502d
Reviewed-by: aavit <eirik.aavitsland@theqtcompany.com>
2015-06-26 10:55:40 +00:00
..
images Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
scripts Add lancelot test for Emoji text rendering / color glyphs 2015-06-25 16:53:50 +00:00
.gitignore Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
images.qrc Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
lancelot.pro Don't build lance as application bundle on Mac OS 2013-01-22 14:56:47 +01:00
paintcommands.cpp lance: Ensure that OpenGL FBO is cleared before being used as surface 2015-06-26 10:55:40 +00:00
paintcommands.h Update copyright headers 2015-02-11 06:49:51 +00:00
tst_lancelot.cpp Update copyright headers 2015-02-11 06:49:51 +00:00