Integrating OpenGL with Qt Quick 2 applications
summary
Shows three concrete integration paths for Qt 5.4/5.5: hook render-thread signals like QQuickWindow::beforeSynchronizing / beforeRendering / afterRendering to draw underlays/overlays (use direct connections, copy camera state during synchronization, call setPersistentOpenGLContext and resetOpenGLState), implement an in-scene item by subclassing QQuickFramebufferObject::Renderer (synchronize then render on the render thread), or take full control with QQuickRenderControl to reuse an existing GL context and schedule sync/render yourself. Performance target remains 60 FPS.
AI-written summary · about
chapters (7)
- 0:00Introduction to OpenGL Qt Quick
- 1:06How Qt Quick rendering works
- 10:18Signals for rendering control
- 18:46Creating underlays and overlays
- 23:21Custom OpenGL items in Qt Quick
- 32:55Taking full rendering control
- 47:19Q&A session
related talks
01h 22mQt Quick - Introduction to Qt Quick (part 1/4)
01h 02mUsing Qt Quick and the new Qt graphics stack, Scene Graph
01h 01mScene Graph: A Different Approach to Graphics in Qt
01h 08mMeet Qt Quick
46mWhat's new in QtQuick 2.0
01h 12mQt/3D QML Scripting for UI Designers and Hackers
23mAdd a third dimension to your embedded development with Qt 3D
21mExplore the features of Qt 3D Design Studio
