[PR #3203] [MERGED] HDR: its settings get a screen of their own #4845

Closed
opened 2026-11-03 05:08:22 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/3203
Author: @senjinthedragon
Created: 10/28/2026
Status: ✅ Merged
Merged: 10/29/2026
Merged by: @levzzz5154

Base: main ← Head: hdr-screen


📝 Commits (6)

  • 380d5eb HDR: its settings get a screen of their own
  • d91bd61 Merge remote-tracking branch 'origin/main' into hdr-screen
  • ef2ec4c CI: run the checks again (horizon-server's lists test got no answer from Mojang's services)
  • f12d87b Merge main into hdr-screen: the HDR offer beside main's log, and the test on main's slider API
  • dfde0ac Merge main and #3176 into hdr-screen: all five HDR settings on HDR's screen
  • e5087bd Merge main into hdr-screen (with #3176 merged)

📊 Changes

9 files changed (+151 additions, -36 deletions)

View changed files

📝 crates/horizon-client-render/src/gfx.rs (+1 -0)
📝 crates/horizon-client-render/src/graphics.rs (+10 -0)
📝 crates/horizon-client-render/src/graphics_style.rs (+2 -1)
📝 crates/horizon-client-render/src/graphics_ui.rs (+123 -29)
📝 crates/horizon-client-render/src/options_ui.rs (+8 -2)
📝 crates/horizon-client/src/bin/horizon-ctl/commands.rs (+1 -0)
📝 crates/horizon-client/src/game/control.rs (+2 -1)
📝 docs/graphics.md (+3 -2)
📝 docs/horizon-ctl-commands.md (+1 -1)

📄 Description

🤖 Opened by Senjin's AI agent (Claude Code), not by Senjin.

What and why

Follows #2021, part of #1441. Paper White and Peak Brightness sat among the display settings on Graphics: Advanced,
where players without an HDR display reasonably took them for settings of their own display. HDR gets a screen of
its own:

  • Display now has one row for HDR: HDR Settings.... It's greyed where the display path offers no HDR output
    (neither HDR10 nor scRGB), with "Your display or system doesn't offer HDR output." The renderer tells the settings
    when it opens its surface (graphics::offer_hdr, the way suggest_reduced_far_detail already works).
  • Graphics: HDR has the HDR switch first, then Paper White and Peak Brightness, greyed while HDR is off
    ("Turn HDR on to use it."). One Done goes back to Advanced.
  • Where HDR isn't offered, the saved HDR settings aren't used: the renderer already keeps HDR off there, and the
    screen no longer opens. A game folder copied from another computer, or a display swapped for an SDR one, shows
    nothing that does nothing. The values stay in horizon-graphics.txt, so an HDR display brings them back.
  • horizon-ctl opens the screen as options graphics-hdr.

The screen also leaves room for what's next: a calibration step and an in-game shortcut to it.

Black Level (#3145) and UI Brightness (#3176) belong on this screen too; whichever of these lands later, I'll rebase
it so its row moves here.

Vanilla reference

Horizon-only (Horizon's graphics settings). Vanilla's Video Settings are unchanged.

Self-check

pr_ready (tools/pr_ready.py --quick on 2b9cc3161d00, against origin/main at b6c936f82, 1 min 27 s)

Check Result
Scope ✅ 9 files, +137 −27
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 398 passed (34 s)
rustfmt ✅ (8 s)
clippy ✅ (18 s)
tests: horizon-client ✅ 1262 passed (21 s)
doc tests ✅ 0 passed (6 s)
Parity ➖ not run (--quick): CI's parity job picks the affected harnesses
Label player-facing: feature if players get something new, no label for a fix (release-now if urgent)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/3203 **Author:** [@senjinthedragon](https://github.com/senjinthedragon) **Created:** 10/28/2026 **Status:** ✅ Merged **Merged:** 10/29/2026 **Merged by:** [@levzzz5154](https://github.com/levzzz5154) **Base:** `main` ← **Head:** `hdr-screen` --- ### 📝 Commits (6) - [`380d5eb`](https://github.com/horizon-rust/horizon/commit/380d5ebe9fd4256b99c582e9adf0f6f5b5d0daa9) HDR: its settings get a screen of their own - [`d91bd61`](https://github.com/horizon-rust/horizon/commit/d91bd61281241d819b507d36c0512f133e36408f) Merge remote-tracking branch 'origin/main' into hdr-screen - [`ef2ec4c`](https://github.com/horizon-rust/horizon/commit/ef2ec4c0dc41de0111eb925333474e8691af454d) CI: run the checks again (horizon-server's lists test got no answer from Mojang's services) - [`f12d87b`](https://github.com/horizon-rust/horizon/commit/f12d87b5d9c009143abe5cfc5903d825b3329fe3) Merge main into hdr-screen: the HDR offer beside main's log, and the test on main's slider API - [`dfde0ac`](https://github.com/horizon-rust/horizon/commit/dfde0ac091f1aaf7e29dc451f3fac2a909e6a39b) Merge main and #3176 into hdr-screen: all five HDR settings on HDR's screen - [`e5087bd`](https://github.com/horizon-rust/horizon/commit/e5087bdb5a649a72d78e12c37faaf6fd1d57271d) Merge main into hdr-screen (with #3176 merged) ### 📊 Changes **9 files changed** (+151 additions, -36 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client-render/src/gfx.rs` (+1 -0) 📝 `crates/horizon-client-render/src/graphics.rs` (+10 -0) 📝 `crates/horizon-client-render/src/graphics_style.rs` (+2 -1) 📝 `crates/horizon-client-render/src/graphics_ui.rs` (+123 -29) 📝 `crates/horizon-client-render/src/options_ui.rs` (+8 -2) 📝 `crates/horizon-client/src/bin/horizon-ctl/commands.rs` (+1 -0) 📝 `crates/horizon-client/src/game/control.rs` (+2 -1) 📝 `docs/graphics.md` (+3 -2) 📝 `docs/horizon-ctl-commands.md` (+1 -1) </details> ### 📄 Description > 🤖 Opened by Senjin's AI agent (Claude Code), not by Senjin. ## What and why Follows #2021, part of #1441. Paper White and Peak Brightness sat among the display settings on Graphics: Advanced, where players without an HDR display reasonably took them for settings of their own display. HDR gets a screen of its own: - **Display** now has one row for HDR: **HDR Settings...**. It's greyed where the display path offers no HDR output (neither HDR10 nor scRGB), with "Your display or system doesn't offer HDR output." The renderer tells the settings when it opens its surface (`graphics::offer_hdr`, the way `suggest_reduced_far_detail` already works). - **Graphics: HDR** has the **HDR** switch first, then Paper White and Peak Brightness, greyed while HDR is off ("Turn HDR on to use it."). One Done goes back to Advanced. - **Where HDR isn't offered, the saved HDR settings aren't used:** the renderer already keeps HDR off there, and the screen no longer opens. A game folder copied from another computer, or a display swapped for an SDR one, shows nothing that does nothing. The values stay in `horizon-graphics.txt`, so an HDR display brings them back. - **horizon-ctl** opens the screen as `options graphics-hdr`. The screen also leaves room for what's next: a calibration step and an in-game shortcut to it. Black Level (#3145) and UI Brightness (#3176) belong on this screen too; whichever of these lands later, I'll rebase it so its row moves here. ## Vanilla reference Horizon-only (Horizon's graphics settings). Vanilla's Video Settings are unchanged. ## Self-check **pr_ready** (`tools/pr_ready.py --quick` on 2b9cc3161d00, against origin/main at b6c936f82, 1 min 27 s) | Check | Result | | --- | --- | | Scope | ✅ 9 files, +137 −27 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 398 passed (34 s) | | rustfmt | ✅ (8 s) | | clippy | ✅ (18 s) | | tests: horizon-client | ✅ 1262 passed (21 s) | | doc tests | ✅ 0 passed (6 s) | | Parity | ➖ not run (--quick): CI's parity job picks the affected harnesses | | Label | player-facing: `feature` if players get something new, no label for a fix (`release-now` if urgent) | --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:08:22 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#4845
No description provided.