Feature #1675
Updated by skyjake almost 10 years ago
Qt 5.4 introduces new OpenGL classes for modern OpenGL. We should start using them.
@QOpenGLWindow@ has some substantial advantages:
* No need to reserve resources for partial window updates.
* Native window can be recreated without destroying the window instance (for changing surface format).
* A signal is emitted when the frame has been swapped (for simpler/timer-less frame updates).
See blog post: "Completing the offering: QOpenGLWindow and QRasterWindow":http://blog.qt.digia.com/blog/2014/11/20/qt-weekly-20-completing-the-offering-qopenglwindow-and-qrasterwindow/?utm_source=rss&utm_medium=rss&utm_campaign=qt-weekly-20-completing-the-offering-qopenglwindow-and-qrasterwindow
@QOpenGLWindow@ has some substantial advantages:
* No need to reserve resources for partial window updates.
* Native window can be recreated without destroying the window instance (for changing surface format).
* A signal is emitted when the frame has been swapped (for simpler/timer-less frame updates).
See blog post: "Completing the offering: QOpenGLWindow and QRasterWindow":http://blog.qt.digia.com/blog/2014/11/20/qt-weekly-20-completing-the-offering-qopenglwindow-and-qrasterwindow/?utm_source=rss&utm_medium=rss&utm_campaign=qt-weekly-20-completing-the-offering-qopenglwindow-and-qrasterwindow