Details
-
Task
-
Resolution: Done
-
P2: Important
-
None
-
None
-
2266f519225eebca724dd658d185f96bc9ad086c
Description
The fact that QOpenGLWidget provides its own defaultFramebufferObject() function is somewhat confusing. Most people try to use QOpenGLContext::defaultFramebufferObject() instead which of course knows nothing about QOpenGLWidget and QOpenGLWindow and such.
See http://qt-project.org/forums/viewthread/50427/ for example
Additionally, this breaks functions like
- QOpenGLFramebufferObject::release()
- QOpenGLFramebufferObject::bindDefault()
- QOpenGLFunctions::glBindFramebuffer with fbo == 0
that rebind the context's defaultFramebufferObject() but that is not the correct one (it is always 0 except on iOS) when performing rendering into a QOpenGLWidget.
Attachments
Issue Links
- is duplicated by
-
QTBUG-45327 QOpenGLFramebufferObject::release + QOpenGLWidget = broken
-
- Closed
-
For Gerrit Dashboard: QTBUG-43269 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
109245,3 | Fix incorrect FBO bindings with QOpenGLWidget | 5.5 | qt/qtbase | Status: MERGED | -2 | 0 |
113463,5 | Fix incorrect FBO bindings with QQuickWidget | 5.5 | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |
113475,3 | Redirect the default FBO correctly with QQuickWidget | 5.5.0 | qt/qtdeclarative | Status: MERGED | +2 | 0 |