Skip to content

libobs: characterize and extract scene-item transform-update deferral before Rust #4646

Closed

Description

@zackees

Local prerequisite only for obs_sceneitem_defer_update_begin and obs_sceneitem_defer_update_end in libobs/obs-scene.c.h (Phase 6). Distinct from already ported defer_group_resize. No Rust swap.

Scope: additive actual-library C characterization of nested begin/end, exact zero dispatch, safely bounded negative counter behavior, NULL diagnostics, normal/group/parentless dispatch. Preserve existing transform-update tests and public headers. Then extract both exported bodies verbatim in a separate behavior-neutral C-only commit, with a private callable transform adapter if needed.

Acceptance: baseline and extracted tests pass against actual C-reference and hybrid libobs; exported symbol parity, GCC/Clang replay and focused registration checks; full lint once after builds. New tests.d registration joins cmocka-tests. No central test-graph/native.rs edits during #3973 migration. No crop setter or scene hotkey changes. No open prerequisite dependencies or design decisions. Coordinator coord-linux-20261110T1645 authorized LOCAL preparation only; commits stay local for review, no push or PR in this assignment.

Activity

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

    @zackees
    MemberAuthor

    Claiming: local prerequisite characterization and verbatim extraction of obs_sceneitem_defer_update_begin/end.

    1. Characterize unchanged original C through actual C-reference/hybrid libraries, preserving existing tests.
    2. Extract both public bodies verbatim with a private callable transform seam; validate symbols, GCC/Clang and registration, then full lint.
      Slot: /home/niteris/dev/obs-rust/obs-studio-extern/obs-studio13. Local branch: test/4646-scene-transform-defer. Delegated by coord-linux-20261110T1645; local commits only, no PR planned in this assignment. Return local review evidence this session. No other unit claimed.
  3. moved this from In progress to Ready in obs-rust Multiviewon Nov 12, 2026
  4. rdoupe commented on Nov 16, 2026

    @rdoupe
    Collaborator

    @zackees are you still on this one? It was claimed on 2026-11-11 and I don't see a branch or PR for it. If you've let it go, say so and I'll pick it up; otherwise I'll leave it with you.

  5. zackees commented on Nov 16, 2026

    @zackees
    MemberAuthor

    Releasing #4646 — handing it to @rdoupe. I have no branch or PR for it. Thanks for picking it up!

  6. rdoupe commented on Nov 18, 2026

    @rdoupe
    Collaborator

    Claiming: characterization and verbatim extraction of obs_sceneitem_defer_update_begin/end (released to me above). Branch test/4646-defer-update-extract.

    1. Add an actual-library cmocka characterization (nested begin/end, zero-crossing dispatch, NULL diagnostics, normal/group/parentless items) against the unchanged C.
    2. Move both bodies verbatim into libobs/obs-scene-defer-update.c.h in a separate C-only commit. No Rust swap.
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