summaryrefslogtreecommitdiffstats
path: root/src/concurrent/doc/snippets/code
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2023-06-07 14:05:17 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2023-06-11 08:49:47 +0200
commit74319d05b1e8e2b5dcf226ef11bc66776460fa3f (patch)
tree3e1500613cc3298ba171c984763aa89328bc0ec7 /src/concurrent/doc/snippets/code
parent38a00d2c978eba90e9006418de5ebaf89092b079 (diff)
rhi: Pick up HDR maxColorComponentValue from UIScreen if available
Although QRhiSwapChainHdrInfo uses 'max' for this value, it's used by Qt Multimedia's QVideoWindowPrivate::render() as the current maximum, so we need to reflect UIScreen's currentEDRHeadroom rather than potentialEDRHeadroom (the absolute max), the same way we reflect maximumExtendedDynamicRangeColorComponentValue and not maximumPotentialExtendedDynamicRangeColorComponentValue from NSScreen. As we don't support HDRExtendedSrgbLinear on < iOS 16 there is no point in providing a heuristic fallback based on the iPhone 12 spec. Pick-to: 6.5 6.6 Change-Id: If071bb64f269ce16886206df05eb9f27d260bf15 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/concurrent/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions