qt6-bb10/examples/opengl
Kristoffer Skau ee2dbcada8 Add support for stereoscopic content in QOpenGLWidget
Need to add the plumbing necessary to support two textures in
QOpenGLWidget and use these in the backing store. The changes
required on the RHI level is already done in an earlier patch.
Then paintGL() needs to be called twice, once for each buffer.
Also add overloads for the other functions of QOopenGLWidget
where it makes sense to query for left or right buffer.
Then finally create an example.

[ChangeLog][Widgets][QOpenGLWidget] Added support for
stereoscopic rendering.

Fixes: QTBUG-64587
Change-Id: I5a5c53506dcf8a56442097290dceb7eb730d50ce
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
2022-11-28 19:12:27 +01:00
..
2dpainting Examples: Use qt_standard_project_setup() 2022-11-17 19:59:11 +01:00
computegles31 Examples: Use qt_standard_project_setup() 2022-11-17 19:59:11 +01:00
contextinfo Examples: Use qt_standard_project_setup() 2022-11-17 19:59:11 +01:00
cube Examples: Use qt_standard_project_setup() 2022-11-17 19:59:11 +01:00
doc Add support for stereoscopic content in QOpenGLWidget 2022-11-28 19:12:27 +01:00
hellogl2 Examples: Use qt_standard_project_setup() 2022-11-17 19:59:11 +01:00
hellogles3 Examples: Use qt_standard_project_setup() 2022-11-17 19:59:11 +01:00
hellowindow Examples: Use qt_standard_project_setup() 2022-11-17 19:59:11 +01:00
openglwindow Examples: Use qt_standard_project_setup() 2022-11-17 19:59:11 +01:00
paintedwindow Examples: Use qt_standard_project_setup() 2022-11-17 19:59:11 +01:00
qopenglwidget Examples: Use qt_standard_project_setup() 2022-11-17 19:59:11 +01:00
qopenglwindow Examples: Use qt_standard_project_setup() 2022-11-17 19:59:11 +01:00
stereoqopenglwidget Add support for stereoscopic content in QOpenGLWidget 2022-11-28 19:12:27 +01:00
textures Examples: Use qt_standard_project_setup() 2022-11-17 19:59:11 +01:00
threadedqopenglwidget Examples: Use qt_standard_project_setup() 2022-11-17 19:59:11 +01:00
CMakeLists.txt Add support for stereoscopic content in QOpenGLWidget 2022-11-28 19:12:27 +01:00
README
opengl.pro Add support for stereoscopic content in QOpenGLWidget 2022-11-28 19:12:27 +01: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.