[PR #2777] [CLOSED] Renderer: a headless constructor and frame readback (carries #2592) #4598

Closed
opened 2026-11-03 04:18:26 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/2777
Author: @ludovic111
Created: 10/27/2026
Status: ❌ Closed

Base: main ← Head: carry/2592-headless-capture


📝 Commits (6)

  • e38e25c Renderer: a headless constructor and frame readback
  • 1a05204 Merge commit 'refs/cg20/pr2296' into HEAD
  • 34dd3de Thread #2296's glint textures through the headless renderer
  • c7de637 Merge #2292 (HDR output)
  • 8c073e5 Merge main into headless-capture (gfx.rs: keep main's entity_outline module and the headless tests)
  • f080e86 headless tests: fill Frame's new glowing and outline_high_contrast fields from main

📊 Changes

2 files changed (+342 additions, -26 deletions)

View changed files

📝 crates/horizon-client/src/gfx.rs (+216 -26)
➕ crates/horizon-client/src/gfx/headless_tests.rs (+126 -0)

📄 Description

🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself.

Carries @Kydaix's #2592 (Renderer: a headless constructor and frame readback) with main merged in. The branch doesn't allow edits by maintainers, so the merge can't go on the PR itself. Kydaix's commits are kept unchanged, so #2592 shows as merged when this lands. All credit to them.

Two additions on top of their head (c7de637f0):

  • the merge of main: gfx.rs keeps main's entity_outline module next to headless_tests;
  • headless_tests.rs fills Frame's new glowing and outline_high_contrast fields from main.

Proven in wave 5's union run (cg20 union C 5900ab387, Mac mini) at c7de637f0. After the merge: clippy -D warnings and fmt are clean, and headless_frames_are_read_back_in_order passes on the Mac mini's GPU (--ignored, 4 s).

🤖 Generated with Claude Code


🔄 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/2777 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/27/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `carry/2592-headless-capture` --- ### 📝 Commits (6) - [`e38e25c`](https://github.com/horizon-rust/horizon/commit/e38e25c1a824105793e1e1ed33fc2896b48ea52e) Renderer: a headless constructor and frame readback - [`1a05204`](https://github.com/horizon-rust/horizon/commit/1a052041dc4765a36216cf452471f65ec48c3481) Merge commit 'refs/cg20/pr2296' into HEAD - [`34dd3de`](https://github.com/horizon-rust/horizon/commit/34dd3de8f47e7fbeff3a62977ebfbb1416c76301) Thread #2296's glint textures through the headless renderer - [`c7de637`](https://github.com/horizon-rust/horizon/commit/c7de637f0f751947c755219176e8581c2ac15c9e) Merge #2292 (HDR output) - [`8c073e5`](https://github.com/horizon-rust/horizon/commit/8c073e5ab7a5114b212d752ff6048b6a8650ccb6) Merge main into headless-capture (gfx.rs: keep main's entity_outline module and the headless tests) - [`f080e86`](https://github.com/horizon-rust/horizon/commit/f080e86f8c98087790f7ee49be9fe6f3ea686b08) headless tests: fill Frame's new glowing and outline_high_contrast fields from main ### 📊 Changes **2 files changed** (+342 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/gfx.rs` (+216 -26) ➕ `crates/horizon-client/src/gfx/headless_tests.rs` (+126 -0) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. Carries @Kydaix's #2592 (Renderer: a headless constructor and frame readback) with main merged in. The branch doesn't allow edits by maintainers, so the merge can't go on the PR itself. Kydaix's commits are kept unchanged, so #2592 shows as merged when this lands. All credit to them. Two additions on top of their head (c7de637f0): - the merge of main: `gfx.rs` keeps main's `entity_outline` module next to `headless_tests`; - `headless_tests.rs` fills `Frame`'s new `glowing` and `outline_high_contrast` fields from main. Proven in wave 5's union run (cg20 union C 5900ab387, Mac mini) at c7de637f0. After the merge: clippy `-D warnings` and fmt are clean, and `headless_frames_are_read_back_in_order` passes on the Mac mini's GPU (`--ignored`, 4 s). 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:18:26 +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#4598
No description provided.