qt5base-lts/tests/auto/widgets
Laszlo Agocs 6c2da36c22 Prevent continuous painting with viewport QOpenGLWidget
Add the source widget to the texture list (may be null for custom
compositor implementations that add textures not belonging to actual
widgets). This allows us to do proper checks with the
dirtyRenderToTextureWidgets list.

As a result paint events are only sent to a QOpenGLWidget if (1) there
was an update() for it or (2) it was actually marked dirty. (2) was
previously behaving differently: the widget got a paint event when
anything in the window has changed. This is fine for naive animating
OpenGL code but less ideal for QGraphicsView.

Bool properties like stacksOnTop are now stored in a flags value to
prevent future explosion of texture list fields and parameters.

Task-number: QTBUG-43178
Change-Id: I48cbcf93df72ac682c9b5d64982a8b648fe21ef3
Reviewed-by: Jørgen Lind <jorgen.lind@theqtcompany.com>
Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com>
2014-12-18 09:46:23 +01:00
..
dialogs Enable tst_qfiledialog2 on OSX 2014-11-19 16:13:25 +01:00
effects Update license headers and add new license files 2014-09-24 12:26:19 +02:00
gestures QPanGestureRecognizer: Make the number of touch points a parameter. 2014-11-17 14:38:15 +01:00
graphicsview Enable tst_QGraphicsView on OSX 2014-11-19 16:13:43 +01:00
itemviews Respect the size hint signal for the column and row delegates 2014-12-03 13:31:07 +01:00
kernel Stabilize tst_QWindowContainer. 2014-12-04 20:18:38 +01:00
styles Update license headers and add new license files 2014-09-24 12:26:19 +02:00
util Change bugreports.qt-project.org -> bugreports.qt.io 2014-12-18 09:46:09 +01:00
widgets Prevent continuous painting with viewport QOpenGLWidget 2014-12-18 09:46:23 +01:00
widgets.pro Add autotest for QGestureRecognizer. 2014-10-23 21:11:28 +02:00