qt5base-lts/tests/auto/widgets
Laszlo Agocs 2ea90c56f2 Start supporting purely offscreen QOpenGLWidget
Due to popular demand. It does have it benefits (especially when
it comes to convenience) to allow grabbing QOpenGLWidgets even
when they are not part of an actual window and are not actually
visible.

Does not involve much more than dropping the warnings and bailouts
when there is active native window (because the QOpenGLWidget/its
parents are still hidden).

In addition the device pixel ratio from metric() has to be fixed
as well.

[ChangeLog][Qt Widgets] QOpenGLWidget is now able to render and
return its content via grabFramebuffer(), QWidget::grab() or
QWidget::render() even when the widget has not been made visible.

Task-number: QTBUG-47185
Task-number: QTBUG-61280
Change-Id: Icc2b0b3ce9778a3eb6409d54744238568abb0f0d
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
2017-06-08 13:34:54 +00:00
..
dialogs QWidgetWindow: don't give focus to windows that are being destroyed 2017-05-30 10:49:36 +00:00
effects QWidgetEffectSourcePrivate::draw(): Call render() when no shared painter exists 2017-05-29 10:23:01 +00:00
graphicsview Merge remote-tracking branch 'origin/5.9' into dev 2017-05-29 10:54:41 +02:00
itemviews Merge remote-tracking branch 'origin/5.9' into dev 2017-06-07 14:02:43 +02:00
kernel Merge remote-tracking branch 'origin/5.9' into dev 2017-06-07 14:02:43 +02:00
styles QMacStyle: Replace QAquaWidgetSize with WidgetSizePolicy 2017-05-15 22:39:28 +00:00
util Merge remote-tracking branch 'origin/5.8' into 5.9 2017-03-13 15:55:44 +01:00
widgets Start supporting purely offscreen QOpenGLWidget 2017-06-08 13:34:54 +00:00
widgets.pro Move QGestureRecognizer test to widgets/kernel 2017-06-02 18:36:11 +00:00