qt5base-lts/examples/opengl
Laszlo Agocs f4ae4f41b0 hellowindow: Set all the state for each frame
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>
2014-09-04 14:06:42 +02:00
..
2dpainting Modernize the OpenGL examples 2014-08-12 07:47:23 +02:00
contextinfo contextinfo: Make it more responsive and improve error handling 2014-03-14 18:21:02 +01:00
cube Modernize the OpenGL examples 2014-08-12 07:47:23 +02:00
doc Modernize the OpenGL examples 2014-08-12 07:47:23 +02:00
hellogl2 Fix composition for windows with alpha 2014-08-13 16:14:19 +02:00
hellowindow hellowindow: Set all the state for each frame 2014-09-04 14:06:42 +02:00
legacy Modernize the OpenGL examples 2014-08-12 07:47:23 +02:00
paintedwindow Examples: Add Q_DECL_OVERRIDE to overridden functions 2014-07-15 08:44:44 +02:00
qopenglwidget Use QMenuBar::addMenu in the qopenglwidget example 2014-08-25 17:40:18 +02:00
qopenglwindow Set a size in qopenglwindow example 2014-08-24 23:01:39 +02:00
textures Modernize the OpenGL examples 2014-08-12 07:47:23 +02:00
threadedqopenglwidget Modernize the OpenGL examples 2014-08-12 07:47:23 +02:00
opengl.pro Modernize the OpenGL examples 2014-08-12 07:47:23 +02:00
README Remove references to demos from docs. 2011-07-05 19:57:54 +02:00

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.