feat(gui): add auto inverse tone-mapping and Target Peak HDR Only opt… #804

Open
Corzcode wants to merge 1 commit from Corzcode/pr/upstream/hdr into main
Corzcode commented 2026-08-26 22:20:10 -05:00 (Migrated from github.com)

…ions

Add displayTargetAutoInverseTonemap and displayTargetPeakHdrOnly settings (Settings/QmlSettings) with controls in DisplaySettingsDialog.

Target Peak HDR Only: apply the manually configured target peak only when the client display is actually HDR (pl_color_space_is_hdr on the swapchain color space); otherwise fall back to automatic.

Auto inverse tone-mapping: enable libplacebo inverse_tone_mapping when an effective target peak is set.

Use PL_COLOR_TRC_* transfer enum for the HDR transfer check.

…ions Add displayTargetAutoInverseTonemap and displayTargetPeakHdrOnly settings (Settings/QmlSettings) with controls in DisplaySettingsDialog. Target Peak HDR Only: apply the manually configured target peak only when the client display is actually HDR (pl_color_space_is_hdr on the swapchain color space); otherwise fall back to automatic. Auto inverse tone-mapping: enable libplacebo inverse_tone_mapping when an effective target peak is set. Use PL_COLOR_TRC_* transfer enum for the HDR transfer check.
This pull request is broken due to missing fork information.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'Corzcode/pr/upstream/hdr:Corzcode/pr/upstream/hdr'
git switch 'Corzcode/pr/upstream/hdr'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'Corzcode/pr/upstream/hdr'
git switch 'Corzcode/pr/upstream/hdr'
git rebase 'main'
git switch 'main'
git merge --ff-only 'Corzcode/pr/upstream/hdr'
git switch 'Corzcode/pr/upstream/hdr'
git rebase 'main'
git switch 'main'
git merge --no-ff 'Corzcode/pr/upstream/hdr'
git switch 'main'
git merge --squash 'Corzcode/pr/upstream/hdr'
git switch 'main'
git merge --ff-only 'Corzcode/pr/upstream/hdr'
git switch 'main'
git merge 'Corzcode/pr/upstream/hdr'
git push origin 'main'
Sign in to join this conversation.
No description provided.