f4ae4f41b0
Trying to be smart and minimizing the amount of GL calls per frame to provide a good example was a mistake (in a way): There are components, like the eglfs mouse cursor, that change the context state. To make sure the example work in these cases, set the state upon each frame. Change-Id: Ief1fd7bbb0fb1955a64dac97a071b7a3d9d506d4 Reviewed-by: Jørgen Lind <jorgen.lind@digia.com> |
||
---|---|---|
.. | ||
2dpainting | ||
contextinfo | ||
cube | ||
doc | ||
hellogl2 | ||
hellowindow | ||
legacy | ||
paintedwindow | ||
qopenglwidget | ||
qopenglwindow | ||
textures | ||
threadedqopenglwidget | ||
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.