qt6-bb10/examples/opengl
Laszlo Agocs 5bb4d06494 Add support for custom texture format in QOpenGLWidget
...in order to support sRGB framebuffers.

Add a --srgb option to the qopenglwidget example to allow testing.

[ChangeLog][QtWidgets][QOpenGLWidget] Added support for specifying
custom internal texture formats in QOpenGLWidget in order to make it
possible to have the widget backed by an sRGB-capable framebuffer.

Task-number: QTBUG-50987
Change-Id: I112e2f0ab0b1478c69e601031aa0bafaa87fa847
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
2017-02-26 20:06:07 +00:00
..
2dpainting Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
computegles31 computegles31 example: fix warning -Winconsistent-missing-override 2016-10-03 08:06:33 +00:00
contextinfo Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
cube Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
doc Unify license header usage. 2016-03-29 10:20:03 +00:00
hellogl2 Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
hellogles3 Unify license header usage. 2016-03-29 10:20:03 +00:00
hellowindow Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
legacy Example: migrate grabber to use QRegularExpression 2017-02-15 14:45:51 +00:00
paintedwindow examples: Use QOverload to select overloaded signals and slots 2016-12-22 14:54:55 +00:00
qopenglwidget Add support for custom texture format in QOpenGLWidget 2017-02-26 20:06:07 +00:00
qopenglwindow examples: Use QOverload to select overloaded signals and slots 2016-12-22 14:54:55 +00:00
textures Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
threadedqopenglwidget Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
README
opengl.pro OpenGL: add support for compute shaders in GLES 3.1 2016-09-21 16:45:50 +00:00

README

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.