qt5base-lts/tests/manual/rhi/shared
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
..
imgui rhi: Enhance the hdr info struct and add a manual test 2023-08-03 12:17:25 +02:00
buildshaders.bat rhi: update manual test shaders 2023-04-20 11:34:41 +02:00
bwqt224_64_nomips.dds Introduce the Qt graphics abstraction as private QtGui helpers 2019-06-13 10:13:45 +02:00
bwqt224_64.png Introduce the Qt graphics abstraction as private QtGui helpers 2019-06-13 10:13:45 +02:00
color.frag Introduce the Qt graphics abstraction as private QtGui helpers 2019-06-13 10:13:45 +02:00
color.frag.qsb rhi: update manual test shaders 2023-04-20 11:34:41 +02:00
color.vert Introduce the Qt graphics abstraction as private QtGui helpers 2019-06-13 10:13:45 +02:00
color.vert.qsb rhi: update manual test shaders 2023-04-20 11:34:41 +02:00
cube.h rhi: Add a displacement / tessellation manual test 2023-02-14 17:48:09 +01:00
dds_bc1.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
examplefw.h rhi: Enhance the hdr info struct and add a manual test 2023-08-03 12:17:25 +02:00
OpenfootageNET_fieldairport-512.hdr Introduce the Qt graphics abstraction as private QtGui helpers 2019-06-13 10:13:45 +02:00
qt256_bc1_9mips.dds Introduce the Qt graphics abstraction as private QtGui helpers 2019-06-13 10:13:45 +02:00
qt256.png Introduce the Qt graphics abstraction as private QtGui helpers 2019-06-13 10:13:45 +02:00
texture_arr.frag rhi: Add texture array support 2021-10-29 15:57:13 +02:00
texture_arr.frag.qsb rhi: update manual test shaders 2023-04-20 11:34:41 +02:00
texture_arr.vert rhi: Add texture array support 2021-10-29 15:57:13 +02:00
texture_arr.vert.qsb rhi: update manual test shaders 2023-04-20 11:34:41 +02:00
texture_ms4.frag Introduce the Qt graphics abstraction as private QtGui helpers 2019-06-13 10:13:45 +02:00
texture_ms4.frag.qsb rhi: update manual test shaders 2023-04-20 11:34:41 +02:00
texture.frag Introduce the Qt graphics abstraction as private QtGui helpers 2019-06-13 10:13:45 +02:00
texture.frag.qsb rhi: update manual test shaders 2023-04-20 11:34:41 +02:00
texture.vert Introduce the Qt graphics abstraction as private QtGui helpers 2019-06-13 10:13:45 +02:00
texture.vert.qsb rhi: update manual test shaders 2023-04-20 11:34:41 +02:00