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
test: Characterize and extract graphics timer dispatch wrappers #4522
Phase 5 prerequisite for porting gs_timer_destroy, gs_timer_begin, gs_timer_end and gs_timer_get_data to obs-graphics. These wrappers remain in libobs/graphics/graphics.c.h:2293-2335 without dedicated public-API characterization.
Add GPU-free cmocka characterization against hybrid libobs and libobs-c-reference before and after moving only these four functions verbatim into libobs/graphics/timer-dispatch.c.h in sorted unity position. Pin context-before-NULL checks, silent NULL commands versus diagnostic get_data guards, output writes (including backend false), exact pointer forwarding, dispatch order and backend-owned destruction. Preserve the Rust source profiler consumer unchanged. No existing C tests, public headers, workflows, WebSocket or test graph edits.
This is the testing-policy.md:189-215 prerequisite only. A separate issue will cover the Rust swap, Tier 1 mirrors, unchanged Tier 2 and original-C differential Tier 3. Tier 4 is inapplicable. Coordinated with sibling texture metadata extraction #4516; separate extracted file.
Claiming: timer dispatch characterization and extraction on branch test/extract-gstimer. 1. Characterize original public wrappers against hybrid and C reference. 2. Extract four wrappers verbatim and replay both libraries. 3. Run full lint once and publish according to backpressure this session; file the Rust swap separately.
Done on master: the characterization and extraction landed in 5f999b2 (#4545), and the Rust port in 2a0fea7 (#4557). Closing; it didn't close by itself.
Activity
zackees commentedon Nov 10, 2026
Claiming: timer dispatch characterization and extraction on branch test/extract-gstimer. 1. Characterize original public wrappers against hybrid and C reference. 2. Extract four wrappers verbatim and replay both libraries. 3. Run full lint once and publish according to backpressure this session; file the Rust swap separately.
test: Characterize public graphics timer dispatch (#4522)
libobs: Extract graphics timer dispatch verbatim (#4522)
libobs: Characterize and extract graphics timer dispatch (obs-rust#4545)
rdoupe commentedon Nov 16, 2026
Done on master: the characterization and extraction landed in 5f999b2 (#4545), and the Rust port in 2a0fea7 (#4557). Closing; it didn't close by itself.