summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>2011-04-28 12:07:47 (GMT)
committerLaszlo Agocs <laszlo.p.agocs@nokia.com>2011-04-28 12:10:55 (GMT)
commita690e560b38385ebb9cd83288e8660d2a4ca2fde (patch)
tree356af75ffd13e110a117950721c8448e708baed1 /src/opengl
parent0d70b0a9faecf042fdb20e0056bdaaec289b851c (diff)
downloadQt-a690e560b38385ebb9cd83288e8660d2a4ca2fde.zip
Qt-a690e560b38385ebb9cd83288e8660d2a4ca2fde.tar.gz
Qt-a690e560b38385ebb9cd83288e8660d2a4ca2fde.tar.bz2
Made the autotest for drawing pixmaps with painter open more fail safe.
The autotest relies on QPixmap::grabWindow() which causes random CI failures because it may capture bogus content if some other window comes to foreground, focus is changed, etc. To overcome these false positives the pixmap content comparison is now only done when the captured content is one of the three possible images. If it is anything else, we cannot verify so the case is skipped. Task-number: QT-4002 Reviewed-by: TRUSTME
Diffstat (limited to 'src/opengl')
0 files changed, 0 insertions, 0 deletions