qt5base-lts/tests/manual/rhi
Laszlo Agocs 547b9da7ad rhi: Enhance the hdr info struct and add a manual test
...while sharing the related code between the d3d backends.

The isHardCodedDefaults flag is not used in practice and is
now removed. Add the luminance behavior and SDR white level
(for Windows) to help creating portable 2D/3D renderers that
composite SDR and HDR content. (sadly the Windows HDR and Apple
EDR behavior is different, as usual)

The new test application is expected to run with the command-line
argument "scrgb" or "sdr". It allows seeing SDR content correction
(on Windows) in action, and has some simple HDR 3D content with
a basic, optional tonemapper. Also shows the platform-dependent
HDR-related screen info. With some helpful tooltips even.

Additionally, it needs a .hdr file after the 'file' argument.
The usual -d, -D, -v, etc. arguments apply to select the 3D API.

For example, to run with D3D12 in HDR mode:

hdr -D scrgb file image.hdr

The same in non-HDR mode:

hdr -D sdr file image.hdr

Change-Id: I7fdfc7054cc0352bc99398fc1c7b1e2f0874421f
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
2023-08-03 12:17:25 +02:00
..
compressedtexture_bc1 tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
compressedtexture_bc1_subupload tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
computebuffer tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
computeimage tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
cubemap tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
cubemap_render tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
cubemap_scissor tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
displacement rhi manual tests: allow having some gui controls 2023-03-23 16:39:19 +01:00
float16texture_with_compute tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
floattexture tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
geometryshader Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
hdr rhi: Enhance the hdr info struct and add a manual test 2023-08-03 12:17:25 +02:00
hellominimalcrossgfxtriangle rhi: Make it a QPA-style private but semi-public API 2023-05-21 15:42:58 +02:00
imguirenderer Replace PUBLIC_LIBRARIES with LIBRARIES in qt_internal_add_manual_test 2023-04-13 20:16:08 +02:00
instancing tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
mrt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
msaarenderbuffer tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
msaatexture tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
multiview rhi: gl: metal: Enable depth-stencil correctly with multiview 2023-06-28 15:18:28 +02:00
multiwindow rhi: Make it a QPA-style private but semi-public API 2023-05-21 15:42:58 +02:00
multiwindow_threaded rhi: Make it a QPA-style private but semi-public API 2023-05-21 15:42:58 +02:00
noninstanced tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
offscreen rhi: Make it a QPA-style private but semi-public API 2023-05-21 15:42:58 +02:00
polygonmode Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
rhiwidget rhi: Make it a QPA-style private but semi-public API 2023-05-21 15:42:58 +02:00
shadowmap tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
shared rhi: Enhance the hdr info struct and add a manual test 2023-08-03 12:17:25 +02:00
stenciloutline rhi: Add a manual test for simple stencil-based outline 2022-10-25 15:19:41 +02:00
stereo rhi: Make it a QPA-style private but semi-public API 2023-05-21 15:42:58 +02:00
tessellation rhi: metal: Add support for tessellation 2022-09-01 19:44:19 +02:00
tex1d Replace PUBLIC_LIBRARIES with LIBRARIES in qt_internal_add_manual_test 2023-04-13 20:16:08 +02:00
tex3d Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
texturearray rhi: Add D3D12 support 2023-02-07 13:33:01 +01:00
texuploads tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
triquadcube rhi: Make it a QPA-style private but semi-public API 2023-05-21 15:42:58 +02:00
CMakeLists.txt rhi: Introduce multiview starting with OpenGL (ES) 2023-06-22 15:20:26 +02:00