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 set_render_size to obs-core after extraction #4285
Phase 6: port the host-independent set_render_size helper from libobs/obs-video-render-size.c.h to obs-core after prerequisite #4284 lands.
The helper disables depth testing, selects GS_NEITHER, sets an orthographic projection and then sets the viewport, preserving that call order. Its uint32 dimensions become float projection dimensions and int viewport dimensions. Keep the public C API/ABI unchanged and preserve production render callers.
Prerequisite #4284 adds C-only characterization of the actual private helper with recording graphics callbacks, then extracts its body verbatim. Branch: test/4284-video-render-size-extract. Wait for it to land before swapping implementation.
Test plan: RED safe-core tests mirroring every C assertion; GREEN implementation; reachable private C ABI plus unchanged C characterization against the Rust implementation and C reference; randomized Tier 3 comparison against the original extracted source with oracle callbacks, including float rounding boundaries. Tier 4 does not apply to this internal graphics helper. Keep tests in the existing Core state category binary. Cover private adapter link support with real sources if needed, never placeholder globals or aborting stubs.
Claiming: video set_render_size Rust swap on port/4285-video-render-size, stacked on test/4284-video-render-size-extract at 71fc36a. 1. Verify direct C characterization. 2. Commit RED safe-core mirrors, then GREEN Rust core/ABI swap and differential coverage. 3. Run focused checks and full lint, push branch only for manager handoff today; no PR until the queue drains.
Activity
zackees commentedon Nov 9, 2026
Claiming: video set_render_size Rust swap on port/4285-video-render-size, stacked on test/4284-video-render-size-extract at 71fc36a. 1. Verify direct C characterization. 2. Commit RED safe-core mirrors, then GREEN Rust core/ABI swap and differential coverage. 3. Run focused checks and full lint, push branch only for manager handoff today; no PR until the queue drains.
libobs: Extract render-size setup without changing behavior
libobs: Characterize and extract video render size before Rust port (#…
libobs: Port render-size setup to safe Rust with private graphics bridge
libobs: Port render-size setup to safe Rust with private graphics bridge
libobs: Port render-size setup to safe Rust with private graphics bri…
zackees commentedon Nov 18, 2026
Landed on master in #4541 (fdfe24c); verified the merge is an ancestor of origin/master and rust/obs-core/src/video_render_size.rs exists there.