Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
dev
-
None
-
Windows 10 21H2, MSVC 17.7.0 Preview 2.0
-
-
ce33e4766 (dev)
Description
Hi,
In Qt6 the QSurfaceFormat::ColorSpace enum was deprecated in favour of using ICC profile-backed QColorSpace instances. I believe this prevents users of OpenGL bindings from requesting HDR surfaces, because this enforces the transfer curve to be one of the supported ICC types (specifically type 4 as per QColorTransferFunction). This restriction leaves the only alternative of Rhi as the graphics backend (and by extension requiring a migration to Qt Quick, to the best of my knowledge).
With this report, I'm targeting specifically support for PQ/HLG which are the only ones available eg. with DirectX for BT.2020 content.
For further context, I think https://bugs.chromium.org/p/chromium/issues/detail?id=1038494 is also useful.
Attachments
Issue Links
- relates to
-
QTBUG-92853 Support for HDR for rendering Qt UI
- Reported
Gerrit Reviews
For Gerrit Dashboard: QTBUG-114722 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
489237,4 | QColorTransferFunction: allow modeling of non-ICC curves | dev | qt/qtbase | Status: NEW | 0 | 0 |
549280,15 | Add Bt2020 and Bt2100 color spaces | dev | qt/qtbase | Status: MERGED | +2 | +1 |