qt5base-lts/examples/opengl
Samuel Rødal b39df8bf92 Made window orientation API more flexible.
Previously we only had QWindow::setOrientation() which was a hint about
the orientation the window's contents were rendered in.

However, it's necessary to separate between the orientation
corresponding to the window buffer layout and orientation of the
contents. A game for example might typically want to use a landscape
buffer even on a portrait device. Thus, we replace
QWindow::orientation() with QWindow::reportContentOrientationChange() and
QWindow::requestWindowOrientation().

Change-Id: I1f07362192daf36c45519cb05b43ac352f1945b5
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
2012-01-24 15:38:48 +01:00
..
2dpainting Update contact information in license headers. 2012-01-23 04:04:33 +01:00
cube Update contact information in license headers. 2012-01-23 04:04:33 +01:00
framebufferobject Squashed commit of changes from the 4.8-temp branch. 2011-05-23 14:24:07 +02:00
framebufferobject2 Update contact information in license headers. 2012-01-23 04:04:33 +01:00
grabber Update contact information in license headers. 2012-01-23 04:04:33 +01:00
hellogl Update contact information in license headers. 2012-01-23 04:04:33 +01:00
hellogl_es Update contact information in license headers. 2012-01-23 04:04:33 +01:00
hellogl_es2 Update contact information in license headers. 2012-01-23 04:04:33 +01:00
hellowindow Update contact information in license headers. 2012-01-23 04:04:33 +01:00
overpainting Update contact information in license headers. 2012-01-23 04:04:33 +01:00
paintedwindow Made window orientation API more flexible. 2012-01-24 15:38:48 +01:00
pbuffers Update contact information in license headers. 2012-01-23 04:04:33 +01:00
pbuffers2 Update contact information in license headers. 2012-01-23 04:04:33 +01:00
samplebuffers Update contact information in license headers. 2012-01-23 04:04:33 +01:00
shared Update contact information in license headers. 2012-01-23 04:04:33 +01:00
textures Update contact information in license headers. 2012-01-23 04:04:33 +01:00
opengl.pro Examples, plugins: Remove remains of qpa in profiles. 2011-10-28 15:04:54 +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.