80dbdf0de3
Add some extra rotations and offsets, to show off the power of what you can do with a single draw call. Also use QGLWindow instead of QGLWidget. This improves performance from 23 FPS to 30 FPS on a 4k monitor with integrated Intel graphics. Change-Id: Iedac1c14cc6057959aa15faaacdf29da91f36ab1 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com> |
||
---|---|---|
.. | ||
2dpainting | ||
contextinfo | ||
cube | ||
doc | ||
hellogl2 | ||
hellogles3 | ||
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.