qt5base-lts/tests/auto/widgets/graphicsview/qgraphicsscene
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
..
testData/render Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
.gitignore Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
Ash_European.jpg Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
graphicsScene_selection.data Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
images.qrc Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
qgraphicsscene.pro Make 'nmake check' succeed for widgets tests 2012-02-17 14:08:19 +01:00
tst_qgraphicsscene.cpp Got rid of Map / Unmap events in favor of Expose event. 2012-03-22 11:43:36 +01:00