qt5base-lts/examples/opengl
Laszlo Agocs 1e18df9c73 Extend QOpenGLFunctions with GL1 functions
This introduces the ability to indirectly invoke all common GL1-GLES2
functions via QOpenGLFunctions. The GL1 functions are not yet resolved,
since this would not work anyway when linking to an OpenGL implementation
directly. However this may change later but that will be a completely
internal change without affecting any public APIs.

Also migrate some of the opengl examples to use QOpenGLFunctions for
everything. Once dynamic GL loading becomes available on some platforms,
these examples should continue to function without any changes since they
do not anymore invoke any OpenGL functions directly.

Task-number: QTBUG-36483
Change-Id: Ie630029651e5a4863a480aac5306edd67ee36813
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>
2014-03-04 15:59:05 +01:00
..
2dpainting Remove warnings about examples not running in the Qt Simulator 2013-10-09 21:45:31 +02:00
contextinfo Extend QOpenGLFunctions with GL1 functions 2014-03-04 15:59:05 +01:00
cube Fix MSVC-warnings about double to float truncation. 2014-01-24 20:26:39 +01:00
doc Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
framebufferobject2 expand tabs and related whitespace fixes in *.{cpp,h,qdoc} 2014-01-13 22:46:50 +01:00
grabber Remove warnings about examples not running in the Qt Simulator 2013-10-09 21:45:31 +02:00
hellogl Remove warnings about examples not running in the Qt Simulator 2013-10-09 21:45:31 +02:00
hellogl_es Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
hellogl_es2 Fix division by zero in hellogl_es2 example. 2014-02-24 12:30:34 +01:00
hellowindow Extend QOpenGLFunctions with GL1 functions 2014-03-04 15:59:05 +01:00
overpainting Remove warnings about examples not running in the Qt Simulator 2013-10-09 21:45:31 +02:00
paintedwindow Make OpenGL examples work on retina displays. 2013-11-29 10:05:24 +01:00
pbuffers expand tabs and related whitespace fixes in *.{cpp,h,qdoc} 2014-01-13 22:46:50 +01:00
pbuffers2 expand tabs and related whitespace fixes in *.{cpp,h,qdoc} 2014-01-13 22:46:50 +01:00
samplebuffers expand tabs and related whitespace fixes in *.{cpp,h,qdoc} 2014-01-13 22:46:50 +01:00
shared examples: remove unused static const variables 2013-09-14 23:40:18 +02:00
textures Extend QOpenGLFunctions with GL1 functions 2014-03-04 15:59:05 +01:00
opengl.pro Add an example for creating OpenGL contexts 2014-02-28 18:00:39 +01: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.