5786ac12f0
It seems this example never worked as expected. It has a 'multiple' option which should show extra windows with rendering taking place in different thread, however although render is moved to other thread render() function was never called in that thread. Fix following things: * make rendering in other thread * stop requestUpdate if nothing is exposed * add timer so animation works at the same speed despite of number of windows (renderer B renders two windows) * wait for render to finish before triggering requestUdpate * remove mutex where not needed Pick-to: 5.15 Change-Id: I420436bd28d0357534332dd55b088d634d906c14 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io> |
||
---|---|---|
.. | ||
2dpainting | ||
computegles31 | ||
contextinfo | ||
cube | ||
doc | ||
hellogl2 | ||
hellogles3 | ||
hellowindow | ||
openglwindow | ||
paintedwindow | ||
qopenglwidget | ||
qopenglwindow | ||
textures | ||
threadedqopenglwidget | ||
CMakeLists.txt | ||
opengl.pro | ||
README |
Qt provides support for integration with OpenGL implementations on all platforms, giving developers the opportunity to display hardware accelerated 3D graphics alongside a more conventional user interface. These examples demonstrate the basic techniques used to take advantage of OpenGL in Qt applications. Documentation for these examples can be found via the Examples link in the main Qt documentation.