You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
rust: Port video mix and conversion render passes to obs-core #4417
Phase 6 follow-up to prerequisite #4415: port draw_mix_texture and render_convert_plane from libobs/obs-video-render-passes.c.h into obs-core (video orchestration). Wait until the C-only characterization and extraction land; branch test/video-render-passes carries them in BRANCH-ONLY mode.
Keep texture lookup, effect operations and graphics state calls behind callbacks/adapters. Preserve the mix-reuse policy and keep set_render_size as an existing dependency (sibling #4358). Do not modify plugins/obs-websocket, public headers, existing C tests, test-graph.json or native.rs.
Tests: port every assertion from test/cmocka/test_video_render_passes.c into the existing core category binary; RED against Rust stubs then GREEN. Retain unchanged Tier 2 C characterization, make the replacement reachable so it tests the swap, and add Tier 3 differential recording-call traces against the original C for zero/one/multiple passes, mix identity, dimensions and technique selection, including ignored begin-pass failure and framebuffer reset to false. Prove a mutation fails. Tier 4 does not apply to these internal render helpers. Do not claim GPU image-quality coverage from a recording double.
The prerequisite tests currently characterize the real private C bodies only, independently of library selection; the follow-up must resolve Rust reachability rather than treating that as swap coverage. Put real adapter link support in a per-unit tests.d fragment if needed; no placeholder symbols/globals. Coordinate with #4410 graphics-task extraction and #4358 render-size extraction in obs-video.c.h.
Claiming: draw_mix_texture and render_convert_plane on branch port/4417-video-render-passes, stacked on branch test/video-render-passes at fa18c96. 1. Port characterization assertions into the existing Rust core category with RED stubs. 2. Implement safe render orchestration and thin adapters, retain unchanged C swap coverage and add differential C traces. 3. Run focused checks, mutation, formatting and full lint, then push branch-only for manager review; no PR while the prerequisite remains branch-only.
Claiming: draw_mix_texture and render_convert_plane on port/4417-render-passes-stacked in obs-studio6, stacked on #4917 at 8eacf4f. 1. Resume and inspect the earlier branch, preserve RED then GREEN and port all characterization assertions. 2. Verify the safe Rust core, adapters, unchanged C swap reachability and differential mutation coverage. 3. Run focused tests and full lint once, publish an unarmed draft with the exact own-commit range while #4917 remains open. First draft expected this session.
Activity
zackees commentedon Nov 9, 2026
Claiming: draw_mix_texture and render_convert_plane on branch port/4417-video-render-passes, stacked on branch test/video-render-passes at fa18c96. 1. Port characterization assertions into the existing Rust core category with RED stubs. 2. Implement safe render orchestration and thin adapters, retain unchanged C swap coverage and add differential C traces. 3. Run focused checks, mutation, formatting and full lint, then push branch-only for manager review; no PR while the prerequisite remains branch-only.
zackees commentedon Nov 16, 2026
Claiming: draw_mix_texture and render_convert_plane on port/4417-render-passes-stacked in obs-studio6, stacked on #4917 at 8eacf4f. 1. Resume and inspect the earlier branch, preserve RED then GREEN and port all characterization assertions. 2. Verify the safe Rust core, adapters, unchanged C swap reachability and differential mutation coverage. 3. Run focused tests and full lint once, publish an unarmed draft with the exact own-commit range while #4917 remains open. First draft expected this session.
libobs: port video mix and conversion render passes to Rust
test: include generated libobs config for render-pass Rust fixture
2 remaining items
test: include generated libobs config for render-pass Rust fixture
test: link real logging for render-pass Rust fixture (Refs #4417)
libobs: port video mix and conversion render passes to Rust
test: include generated libobs config for render-pass Rust fixture
test: link real logging for render-pass Rust fixture (Refs #4417)
libobs: port video mix and conversion render passes to Rust
test: include generated libobs config for render-pass Rust fixture
test: link real logging for render-pass Rust fixture (Refs #4417)
test: supply video-info support to render-pass Rust fixture (Refs #4417)
zackees commentedon Nov 18, 2026
Landed on master in #4922 (7f8d851); verified the merge is an ancestor of origin/master and rust/obs-core/src/ffi/video_render_passes.rs exists there.
libobs: Characterize and extract video render passes (obs-rust#4917)
obs-core: Port video mix and conversion render passes (obs-rust#4922)