qt5base-lts/tests/auto
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
..
android
bic/data Binary compatibility files for QtBase (5.8.0) 2017-02-14 12:42:20 +00:00
cmake tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
compilerwarnings/data
concurrent Adapt to the C++ SIC introduced by P0012: noexcept overloading 2017-02-17 13:57:30 +00:00
corelib json: Add operator[] to QJsonDocument for implicit object and array access 2017-06-08 11:23:55 +00:00
dbus Add Q_FALLTHROUGH to QtDBus tests 2017-05-17 16:16:02 +00:00
gui Merge remote-tracking branch 'origin/5.9' into dev 2017-06-07 14:02:43 +02:00
guiapplauncher
installed_cmake
network QSSLSocket::readData return -1 when socket is not connected 2017-06-08 04:00:54 +00:00
opengl Switch to RGB(A|X)8888[_Premultiplied] for QOpenGLFBO readbacks on GLES 2017-03-28 11:17:52 +00:00
other Merge remote-tracking branch 'origin/5.9' into dev 2017-06-07 14:02:43 +02:00
printsupport Convert features.printdialog to QT_[REQUIRE_]CONFIG 2017-05-30 17:21:26 +00:00
shared Remove workaround for potentially unavailable pasteboard in macOS 2017-03-07 01:04:46 +00:00
sql Merge remote-tracking branch 'origin/5.9' into dev 2017-05-29 10:54:41 +02:00
testlib Improve pair-like class handling in tests 2017-04-06 21:46:32 +00:00
tools moc: Allow NOTIFY signals defined in parent classes 2017-05-23 11:11:52 +00:00
widgets Start supporting purely offscreen QOpenGLWidget 2017-06-08 13:34:54 +00:00
xml Merge remote-tracking branch 'origin/5.7' into 5.8 2016-11-01 06:02:55 +01:00
auto.pro Build examples and tests only if their requirements are met 2017-03-22 15:55:55 +00:00
network-settings.h