Skip to content

Release 0.2.0: grafton-ndi 3, GLES2 window hooks, hap-wgpu 0.3.2 - #290

Merged
BlueJayLouche merged 6 commits into
mainfrom
release/0.2.0
Nov 25, 2026
Merged

BlueJayLouche merged 6 commits into
mainfrom
release/0.2.0

Conversation

@BlueJayLouche

Copy link
Copy Markdown
Owner

What

  • NDI → grafton-ndi 3.0. The runtime is now loaded at run time, so building with ndi needs no SDK. It searches next to the executable, then NDI_RUNTIME_DIR_V6, then @rpath/the loader path. Our build scripts already add the SDK's lib dir to the rpath, and release bundles already ship the library beside the binary, so packaging doesn't change.
    • Receiver: find_source_by_name in 500 ms steps; rows() replaces our stride-guessing strip_stride (deleted). allow_video_fields(false) keeps 0.11's whole-frame behaviour.
    • Sender: BorrowedVideoFrame sends straight from our buffer, removing the per-frame copy into an NDI-owned frame.
    • New loopback test (our sender → our receiver through the real runtime, at a width macOS pads). It passes locally against NDI 6, and skips where no runtime is installed.
    • CI now clippies --features ndi.
    • Docs corrected: ndi is opt-in (README/guide said "default on").
  • GLES2 Wayland window path calls the effect's hooks. It now handles resize (incl. wl_egl_window_resize, which was never done), forwards web input commands to the effect, and broadcasts the effect's input state. The DRM loop already did the last two.
  • vp404: hap-wgpu 0.3.2, unpinned from =0.3.0 (hap-rs#4 fixed 0.3.1's read-ahead waste).
  • 0.2.0 for the 15 crates that depend on rustjay-core or changed. lighting, ledmap and imgui-wgpu stay as published.

Checks

  • cargo clippy --workspace --all-targets -D warnings and --features ndi are clean on macOS.
  • cargo test --workspace --no-fail-fast passes on macOS except the 2 known macOS-only kittest snapshots (baselines are Linux renders).
  • The GLES2 code can't build on macOS (EGL/Wayland deps), so CI's --features gles2 clippy step is its only compile check. It is not hardware-tested on a Pi.

🤖 Generated with Claude Code

BlueJayLouche and others added 6 commits November 26, 2026 09:08
grafton-ndi 3 dlopens the NDI 6 runtime instead of linking the SDK at build
time. It searches next to the executable, then NDI_RUNTIME_DIR_V6, then the
platform loader path (@rpath on macOS, which our build scripts already point
at the SDK). Release bundles already put the library in those places, so
packaging is unchanged.

- Receiver: find_source_by_name in 500 ms steps (stop stays responsive);
  rows() replaces our stride-guessing strip_stride, which is deleted.
  allow_video_fields(false) keeps 0.11's whole-frame default.
- Sender: BorrowedVideoFrame sends straight from our buffer; the persistent
  NDI frame and its per-frame copy are gone.
- list_ndi_sources: find_sources keeps everything seen in the window.
- New loopback test: our sender to our receiver through the real runtime,
  asserting tight rows at a width macOS pads. Skips without a runtime.
- CI now clippies --features ndi (no SDK needed any more).
- Docs: ndi is opt-in (README/guide said "default on"); runtime, not SDK.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The DRM kiosk loop already forwarded web input commands and reported the
effect's input state; the winit/Wayland path called none of the three hooks,
and never resized its EGL window, so the picture stayed at its startup size.

- Resized: wl_egl_window_resize, then Gles2Effect::on_resize. DRM's mode is
  fixed, so Gles2State::resize declines there.
- Web input commands go to the effect, as in the DRM loop.
- The input-state broadcast uses the effect's state when it reports one.

Drops the dead_code allow and its ponytail note on Gles2EffectDyn.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Breaking since 0.1.0: egui 0.37 in rustjay-gui's public API, the `mixer`
feature removed from rustjay-engine, rustjay_gui::egui_theme::font_definitions
added, and glam 0.34 / cpal 0.18 / rand 0.10 in public signatures. All crates
that depend on rustjay-core move together. rustjay-lighting, rustjay-ledmap
and rustjay-imgui-wgpu are unchanged and stay where they are.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@BlueJayLouche
BlueJayLouche merged commit a4eb763 into main Nov 25, 2026
2 checks passed
@BlueJayLouche
BlueJayLouche deleted the release/0.2.0 branch November 25, 2026 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant