HDR example code?
-
Hi,
I have read that Qt6.9 has added support for Wayland HDR. However, I have been unable to find any examples or documentation on how the pieces fit together to render in HDR10. Does anyone know where I can find some sample code?
I found QRhiSwapChainHdrInfo, but it does not seem terribly useful by itself. When I make that query on a KDE Plasma 6.4 desktop, LuminanceInNits is zero on a display with HDR enabled. I assume that I need to do other things before making that call, but I don't know what they are and searching has not turned up anything.
I appreciate any pointers to get me started.
TIA
-
As far as rendering HDR video within Qt Multimedia goes, this is not something we have solved at the moment. It's possible to encode/decode HDR video, but presenting it within a UI is not something that we are actively supporting yet. This is something that we will consider once the graphics team makes progress on their HDR work, that should make it possible to have HDR windows and displaying HDR/SDR content within them.