summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2017-06-07 14:35:41 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2017-06-08 13:34:54 +0000
commit2ea90c56f2924acc5c620ed7c29a48c72a42efd3 (patch)
treee2a31ace9625ba07903d93c06ef0d0e6fe8ed0dc /src/corelib
parent41ae544c40e0568bd627a992a23b8c8f8f5cc27d (diff)
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>
Diffstat (limited to 'src/corelib')
0 files changed, 0 insertions, 0 deletions