qt5base-lts/examples/opengl
Samuel Rødal 77d30df7e5 Get rid of legacy glTexParameterf calls.
ES 1.0 didn't have glTexParameteri, which is why we sometimes used
glTexParameterf. However, we shouldn't use glTexParameterf because
that's treating integer values as floating point, which is not type
safe. ES 1.1+ and ES 2.x have glTexParameteri, and we don't really care
about supporting ES 1.0 in any case in Qt 5.

Change-Id: I6b586b31ddc418ba319c4cc88f6bb3978fdbd040
Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com>
2011-10-28 12:14:10 +02:00
..
2dpainting QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
cube Get rid of legacy glTexParameterf calls. 2011-10-28 12:14:10 +02:00
framebufferobject Squashed commit of changes from the 4.8-temp branch. 2011-05-23 14:24:07 +02:00
framebufferobject2 QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
grabber QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
hellogl QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
hellogl_es2 Get rid of legacy glTexParameterf calls. 2011-10-28 12:14:10 +02:00
hellowindow Make examples build with Qt-in-namespace 2011-09-28 12:18:53 +02:00
overpainting QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
paintedwindow Added Orientation API to QScreen and QWindow. 2011-10-07 22:23:30 +02:00
pbuffers QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
pbuffers2 QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
samplebuffers QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
shared Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
textures QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
opengl.pro QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +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.