qt5base-lts/examples/opengl/contextinfo
Laszlo Agocs 1219dbe543 Add an example for creating OpenGL contexts
Besides serving as an example for performing OpenGL rendering inside
a window container in a way that it works across all GL versions,
this is an extremely useful tool for developers and users alike
since it allows quick and easy checking of what sort of context a
particular driver returns for a particular QSurfaceFormat.

NB! Depending on the OpenGL driver, some surprises can be expected.
The handling of core/compatibility profiles, the fwdcompat bit,
the supported GLSL versions, etc. tend to be somewhat different
across the different OpenGL implementations.

Task-number: QTBUG-37071
Change-Id: Iae4328e66cd0bb19f74a77fefef93ea5a3221e31
Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
2014-02-28 18:00:39 +01:00
..
contextinfo.pro Add an example for creating OpenGL contexts 2014-02-28 18:00:39 +01:00
main.cpp Add an example for creating OpenGL contexts 2014-02-28 18:00:39 +01:00
renderwindow.cpp Add an example for creating OpenGL contexts 2014-02-28 18:00:39 +01:00
renderwindow.h Add an example for creating OpenGL contexts 2014-02-28 18:00:39 +01:00
widget.cpp Add an example for creating OpenGL contexts 2014-02-28 18:00:39 +01:00
widget.h Add an example for creating OpenGL contexts 2014-02-28 18:00:39 +01:00