qt5base-lts/tests/auto/gui
Samuel Rødal 55fa3c189f Got rid of Map / Unmap events in favor of Expose event.
Since change 2e4d8f67a8 the need for Map and Unmap events has
gone away, as now the Expose event is used to notify the application
about when it can start rendering.

The Map and Unmap events weren't really used except by QWidget to set
the WA_Mapped flag, which we now set based on the expose / unexpose.

Also guarantee that a Resize event is always sent before the first
Expose, by re-introducing an asynchronous expose event handler. Since
an expose is required before rendering to a QWindow, show a warning if
QOpenGLContext::swapBuffers() or QBackingStore::flush() if called on a
window that has not received its first expose.

Change-Id: Ia6b609aa275d5b463b5011a96f2fd9bbe52e9bc4
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-03-22 11:43:36 +01:00
..
image Move the auto test of QPixmap::grabWidget() from QPixmap to QWidget 2012-03-12 17:33:15 +01:00
kernel Got rid of Map / Unmap events in favor of Expose event. 2012-03-22 11:43:36 +01:00
math3d Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
painting Fix font cache check in QFontEngineFT::recalcAdvances() 2012-03-16 11:02:03 +01:00
qopengl Make "nmake check" pass for gui tests in Windows. 2012-02-10 15:40:22 +01:00
text Clean up some auto tests of gui 2012-03-12 13:14:05 +01:00
util Clean up some auto tests of gui 2012-03-12 13:14:05 +01:00
gui.pro Moved tests into gui/kernel/ and gui/qopengl/ 2011-11-04 20:48:19 +01:00