Skip to content

libobs: characterize and extract obs_canvas_move_scene + enum_move_cb #4769

Closed

Description

@zackees

Characterize and mechanically extract the canvas scene migration unit before its Rust swap, per the testing-policy prerequisite.

Scope: libobs/obs-canvas.c.h, enum_move_cb (425–438) and obs_canvas_move_scene (440–448), based on master 5f8235d. The destination crate for the later port is obs-core. Preserve scene remove/insert ordering, group-only selection, group migration in scene item order, and ordinary source ownership. Existing test_scene_canvas_characterization.c and test_canvas_destroy_scene_refs.c remain unchanged.

Add a focused C cmocka characterization test and run it against hybrid libobs and libobs-c-reference. Then extract the two functions verbatim into their own .c.h and unity group following BUILD.md; no Rust implementation or public header changes. Register the native test exactly once in test-graph.json, validate native_build, and run the final lint gate.

Delivery is branch-only (no PR while shared graph publication is serialized). File the Rust-swap follow-up after validation. Acceptance: passing characterization before and after extraction for both libraries, behavior-neutral extraction, and a pushed branch ready for manager publication.

Activity

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

    @zackees
    MemberAuthor

    Claiming: canvas scene migration characterization and extraction on branch test/extract-canvas-move in obs-studio11. 1. Add focused C characterization and validate hybrid/reference behavior. 2. Extract obs_canvas_move_scene and enum_move_cb verbatim with their own unity group. 3. Run native_build and final lint, push the branch only, and file the obs-core Rust-swap follow-up. Branch handoff expected this session; no PR will be opened because graph publication is serialized.

  3. moved this from In progress to Ready in obs-rust Multiviewon Nov 14, 2026
  4. rdoupe commented on Nov 16, 2026

    @rdoupe
    Collaborator

    Done on master by #4799, which landed this extraction but said "Refs", so the issue stayed open. Closing it so it no longer shows as unclaimed Ready work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2enhancementportreadysize:S

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions