547b9da7ad
...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> |
||
---|---|---|
.. | ||
imgui | ||
buildshaders.bat | ||
bwqt224_64_nomips.dds | ||
bwqt224_64.png | ||
color.frag | ||
color.frag.qsb | ||
color.vert | ||
color.vert.qsb | ||
cube.h | ||
dds_bc1.h | ||
examplefw.h | ||
OpenfootageNET_fieldairport-512.hdr | ||
qt256_bc1_9mips.dds | ||
qt256.png | ||
texture_arr.frag | ||
texture_arr.frag.qsb | ||
texture_arr.vert | ||
texture_arr.vert.qsb | ||
texture_ms4.frag | ||
texture_ms4.frag.qsb | ||
texture.frag | ||
texture.frag.qsb | ||
texture.vert | ||
texture.vert.qsb |