Skip to content

rust: Port libobs/obs-sceneitem-defer-update.c.h to obs-scene #5260

Closed

Description

@zackees

Unit: libobs/obs-sceneitem-defer-update.c.h to obs-scene, limited to obs_sceneitem_defer_update_begin/end.

Phase and position: Phase 6, direct Rust swap after the characterization and verbatim extraction in #5056. Refs #4646.

Dependencies and existing tests: the prerequisite is merged. Keep test/cmocka/test_scene_item_defer_update.c unchanged and passing against the C reference (OFF) and hybrid libobs (ON). Add safe Rust Tier 1 coverage in the existing core category and a Tier 3 differential against the original C. Tier 4 does not apply to these local scene APIs.

Preserve exact NULL diagnostics and the native C-owned atomic long semantics, including Windows's 32-bit long, nesting, negative unmatched ends, and transform dispatch only when end decrements to zero. Use narrow real C atomic adapters and the existing obs_sceneitem_bounds_update_transform dispatch adapter. Reuse the shared adapter archive; verify every Linux *_rust consumer and Windows/Darwin links. No public header, existing C test, WebSocket, or workflow changes. No intentional behavior differences.

Activity

  1. added
    port
    ready
    P2
    size:S
    on Nov 19, 2026
  2. zackees commented on Nov 19, 2026

    @zackees
    MemberAuthor

    Claiming: Rust swap of obs_sceneitem_defer_update_begin/end. Slot /home/niteris/dev/obs-rust/obs-studio2-extern/fix5159; branch port/5260-sceneitem-defer-update. 1. Commit safe Rust RED coverage against stubs. 2. Implement the swap with native atomic adapters and original-C differential coverage, retaining the existing C characterization. 3. Verify scene/native-build modules, Linux Tier 2 and every *_rust target, Windows/Darwin links, formatting and lint; publish a ready PR this session if backpressure permits.

  3. zackees commented on Nov 21, 2026

    @zackees
    MemberAuthor

    Done: the Rust swap of obs_sceneitem_defer_update_begin/end merged in #5356 (3a989aa).

  4. moved this from In progress to Done in obs-rust Multiviewon Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2portreadysize:S

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions