Repository navigation
libobs: characterize and extract canvas mix clearing (Refs #5324) - #5335
Merged
Merged
Conversation
Ci-Attestation: {"at":1795143766,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["869cc329a4d9053ba424088d01b05b6bb695bcad"],"secs":283,"stamp":"22c595787778803b4d58f48b85e114a2","tree":"f18b8f2ef90de3ca18f571de56a3b032747ab1cd","v":1,"via":"run"}
Ci-Attestation: {"at":1795143766,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["869cc329a4d9053ba424088d01b05b6bb695bcad"],"secs":283,"stamp":"ed64e2d405c2d0ed5e8a283d86a39a39","tree":"f18b8f2ef90de3ca18f571de56a3b032747ab1cd","v":1,"via":"run"}
Ci-Attestation: {"at":1795143766,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["869cc329a4d9053ba424088d01b05b6bb695bcad"],"secs":283,"stamp":"1ccbf5d8a5f7b14de2fc5ba7d60e8ead","tree":"f18b8f2ef90de3ca18f571de56a3b032747ab1cd","v":1,"via":"run"}
Ci-Attestation: {"at":1795143766,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["869cc329a4d9053ba424088d01b05b6bb695bcad"],"secs":283,"stamp":"0405a1449e9c402664c8d1c74c6c1db6","tree":"f18b8f2ef90de3ca18f571de56a3b032747ab1cd","v":1,"via":"run"}
Ci-Attestation: {"at":1795143475,"gate":"general/all/client-lint","host":"linux-x86_64","key":"cbe559d1105a462b2fab1f11cec8a86699b4ba70b8e0cd90c963503904cf54e7","lane":"client-lint","parents":["869cc329a4d9053ba424088d01b05b6bb695bcad"],"secs":42,"stamp":"92b968317b3e18ee9f1c29cfe351691a","tree":"f18b8f2ef90de3ca18f571de56a3b032747ab1cd","v":1,"via":"run"}
Ci-Attestation: {"at":1795143766,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["869cc329a4d9053ba424088d01b05b6bb695bcad"],"secs":283,"stamp":"d5920762ddc5aa2583351b42544ec12e","tree":"f18b8f2ef90de3ca18f571de56a3b032747ab1cd","v":1,"via":"run"}
Ci-Attestation: {"at":1795143477,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"cbe559d1105a462b2fab1f11cec8a86699b4ba70b8e0cd90c963503904cf54e7","lane":"client-lint","parents":["869cc329a4d9053ba424088d01b05b6bb695bcad"],"secs":42,"stamp":"d1598c996cccc9c2c5b93234e6094b38","tree":"f18b8f2ef90de3ca18f571de56a3b032747ab1cd","v":1,"via":"run"}
Ci-Attestation: {"at":1795143477,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"cbe559d1105a462b2fab1f11cec8a86699b4ba70b8e0cd90c963503904cf54e7","lane":"client-lint","parents":["869cc329a4d9053ba424088d01b05b6bb695bcad"],"secs":42,"stamp":"3580a2ff038c665d2b34fdc46526e6a8","tree":"f18b8f2ef90de3ca18f571de56a3b032747ab1cd","v":1,"via":"run"}
Ci-Attestation: {"at":1795143476,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"cbe559d1105a462b2fab1f11cec8a86699b4ba70b8e0cd90c963503904cf54e7","lane":"client-lint","parents":["869cc329a4d9053ba424088d01b05b6bb695bcad"],"secs":42,"stamp":"61560bcc3aa463c256222a47d076ce1c","tree":"f18b8f2ef90de3ca18f571de56a3b032747ab1cd","v":1,"via":"run"}
Ci-Attestation: {"at":1795143476,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"cbe559d1105a462b2fab1f11cec8a86699b4ba70b8e0cd90c963503904cf54e7","lane":"client-lint","parents":["869cc329a4d9053ba424088d01b05b6bb695bcad"],"secs":42,"stamp":"32355ab2c62bddf1eee52b43caad7af4","tree":"f18b8f2ef90de3ca18f571de56a3b032747ab1cd","v":1,"via":"run"}
Ci-Attestation: {"at":1795143475,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"cbe559d1105a462b2fab1f11cec8a86699b4ba70b8e0cd90c963503904cf54e7","lane":"client-lint","parents":["869cc329a4d9053ba424088d01b05b6bb695bcad"],"secs":42,"stamp":"63432d23eeb52fe77ca4cbeef678266a","tree":"f18b8f2ef90de3ca18f571de56a3b032747ab1cd","v":1,"via":"run"}
Ci-Attestation: {"at":1795143476,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"cbe559d1105a462b2fab1f11cec8a86699b4ba70b8e0cd90c963503904cf54e7","lane":"client-lint","parents":["869cc329a4d9053ba424088d01b05b6bb695bcad"],"secs":42,"stamp":"f622febbabfa79bd96fb0608dbad23c3","tree":"f18b8f2ef90de3ca18f571de56a3b032747ab1cd","v":1,"via":"run"}
Ci-Attestation: {"at":1795143476,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"cbe559d1105a462b2fab1f11cec8a86699b4ba70b8e0cd90c963503904cf54e7","lane":"client-lint","parents":["869cc329a4d9053ba424088d01b05b6bb695bcad"],"secs":42,"stamp":"7063049e21ba685d582d95eeeefb3ea8","tree":"f18b8f2ef90de3ca18f571de56a3b032747ab1cd","v":1,"via":"run"}
Ci-Attestation: {"at":1795143477,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"cbe559d1105a462b2fab1f11cec8a86699b4ba70b8e0cd90c963503904cf54e7","lane":"client-lint","parents":["869cc329a4d9053ba424088d01b05b6bb695bcad"],"secs":42,"stamp":"30a0bf70b2c441df7123fe4f189cecd1","tree":"f18b8f2ef90de3ca18f571de56a3b032747ab1cd","v":1,"via":"run"}
Ci-Attestation: {"at":1795143476,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"cbe559d1105a462b2fab1f11cec8a86699b4ba70b8e0cd90c963503904cf54e7","lane":"client-lint","parents":["869cc329a4d9053ba424088d01b05b6bb695bcad"],"secs":42,"stamp":"e159a8db23bc91d0c9c149f84ed927b5","tree":"f18b8f2ef90de3ca18f571de56a3b032747ab1cd","v":1,"via":"run"}
Ci-Attestation: {"at":1795143476,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"cbe559d1105a462b2fab1f11cec8a86699b4ba70b8e0cd90c963503904cf54e7","lane":"client-lint","parents":["869cc329a4d9053ba424088d01b05b6bb695bcad"],"secs":42,"stamp":"305c7c717721de3431b2c064bc336ce7","tree":"f18b8f2ef90de3ca18f571de56a3b032747ab1cd","v":1,"via":"run"}
Ci-Attestation: {"at":1795143475,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"cbe559d1105a462b2fab1f11cec8a86699b4ba70b8e0cd90c963503904cf54e7","lane":"client-lint","parents":["869cc329a4d9053ba424088d01b05b6bb695bcad"],"secs":42,"stamp":"806df248daeeea9904025b11e00a10fd","tree":"f18b8f2ef90de3ca18f571de56a3b032747ab1cd","v":1,"via":"run"}
Ci-Attestation: {"at":1795143475,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"cbe559d1105a462b2fab1f11cec8a86699b4ba70b8e0cd90c963503904cf54e7","lane":"client-lint","parents":["869cc329a4d9053ba424088d01b05b6bb695bcad"],"secs":42,"stamp":"9773ca5ee0f001abc673385da9caaced","tree":"f18b8f2ef90de3ca18f571de56a3b032747ab1cd","v":1,"via":"run"}
zackees
marked this pull request as draft
November 20, 2026 03:08
Ci-Attestation: {"at":1795146597,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["d78cfde1f567b32c1cc52d51dd1fc90e333b9781"],"secs":559,"stamp":"66fc44df2def2ec9b5014efcd4dacf88","tree":"ab35871bf3b5c8715c61745538d5324e6872cf40","v":1,"via":"run"}
Ci-Attestation: {"at":1795146597,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["d78cfde1f567b32c1cc52d51dd1fc90e333b9781"],"secs":559,"stamp":"3063c245efce6f6a9f991081436ee44a","tree":"ab35871bf3b5c8715c61745538d5324e6872cf40","v":1,"via":"run"}
Ci-Attestation: {"at":1795146597,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["d78cfde1f567b32c1cc52d51dd1fc90e333b9781"],"secs":559,"stamp":"da760456955818b97f30e8d2be31e0ff","tree":"ab35871bf3b5c8715c61745538d5324e6872cf40","v":1,"via":"run"}
Ci-Attestation: {"at":1795146597,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["d78cfde1f567b32c1cc52d51dd1fc90e333b9781"],"secs":559,"stamp":"b4da15c2040b6b1d74a2c1867fb99359","tree":"ab35871bf3b5c8715c61745538d5324e6872cf40","v":1,"via":"run"}
Ci-Attestation: {"at":1795146034,"gate":"general/all/client-lint","host":"linux-x86_64","key":"f01ba8e83abab56028239dae769649d2dfa3cc559a5133d44c615cb5afb5d526","lane":"client-lint","parents":["d78cfde1f567b32c1cc52d51dd1fc90e333b9781"],"secs":36,"stamp":"feae2f55fb6666d66b03fa613aa7fd2b","tree":"ab35871bf3b5c8715c61745538d5324e6872cf40","v":1,"via":"run"}
Ci-Attestation: {"at":1795146597,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["d78cfde1f567b32c1cc52d51dd1fc90e333b9781"],"secs":559,"stamp":"6fead04a18f07763138a2ca912b04010","tree":"ab35871bf3b5c8715c61745538d5324e6872cf40","v":1,"via":"run"}
Ci-Attestation: {"at":1795146036,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"f01ba8e83abab56028239dae769649d2dfa3cc559a5133d44c615cb5afb5d526","lane":"client-lint","parents":["d78cfde1f567b32c1cc52d51dd1fc90e333b9781"],"secs":36,"stamp":"7b0f3a020d5a7bf8ab5fcc30f3f36e6a","tree":"ab35871bf3b5c8715c61745538d5324e6872cf40","v":1,"via":"run"}
Ci-Attestation: {"at":1795146036,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"f01ba8e83abab56028239dae769649d2dfa3cc559a5133d44c615cb5afb5d526","lane":"client-lint","parents":["d78cfde1f567b32c1cc52d51dd1fc90e333b9781"],"secs":36,"stamp":"5e2b0aea40ecd145ba76d92a2de9c797","tree":"ab35871bf3b5c8715c61745538d5324e6872cf40","v":1,"via":"run"}
Ci-Attestation: {"at":1795146035,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"f01ba8e83abab56028239dae769649d2dfa3cc559a5133d44c615cb5afb5d526","lane":"client-lint","parents":["d78cfde1f567b32c1cc52d51dd1fc90e333b9781"],"secs":36,"stamp":"935e539e296ad6fec5856083c54901ae","tree":"ab35871bf3b5c8715c61745538d5324e6872cf40","v":1,"via":"run"}
Ci-Attestation: {"at":1795146035,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"f01ba8e83abab56028239dae769649d2dfa3cc559a5133d44c615cb5afb5d526","lane":"client-lint","parents":["d78cfde1f567b32c1cc52d51dd1fc90e333b9781"],"secs":36,"stamp":"0a05f6fc242c811305f43e7f2c47b512","tree":"ab35871bf3b5c8715c61745538d5324e6872cf40","v":1,"via":"run"}
Ci-Attestation: {"at":1795146034,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"f01ba8e83abab56028239dae769649d2dfa3cc559a5133d44c615cb5afb5d526","lane":"client-lint","parents":["d78cfde1f567b32c1cc52d51dd1fc90e333b9781"],"secs":36,"stamp":"cb4b82959c7c208f6542fff0c6e0bdb1","tree":"ab35871bf3b5c8715c61745538d5324e6872cf40","v":1,"via":"run"}
Ci-Attestation: {"at":1795146035,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"f01ba8e83abab56028239dae769649d2dfa3cc559a5133d44c615cb5afb5d526","lane":"client-lint","parents":["d78cfde1f567b32c1cc52d51dd1fc90e333b9781"],"secs":36,"stamp":"a269465355e4ba14e8c9735932aaba11","tree":"ab35871bf3b5c8715c61745538d5324e6872cf40","v":1,"via":"run"}
Ci-Attestation: {"at":1795146035,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"f01ba8e83abab56028239dae769649d2dfa3cc559a5133d44c615cb5afb5d526","lane":"client-lint","parents":["d78cfde1f567b32c1cc52d51dd1fc90e333b9781"],"secs":36,"stamp":"c7d2ec5c88ca7054ebb79373c66fa214","tree":"ab35871bf3b5c8715c61745538d5324e6872cf40","v":1,"via":"run"}
Ci-Attestation: {"at":1795146035,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"f01ba8e83abab56028239dae769649d2dfa3cc559a5133d44c615cb5afb5d526","lane":"client-lint","parents":["d78cfde1f567b32c1cc52d51dd1fc90e333b9781"],"secs":36,"stamp":"34cab53cbe5c26411bdfbb3c3453e41d","tree":"ab35871bf3b5c8715c61745538d5324e6872cf40","v":1,"via":"run"}
Ci-Attestation: {"at":1795146035,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"f01ba8e83abab56028239dae769649d2dfa3cc559a5133d44c615cb5afb5d526","lane":"client-lint","parents":["d78cfde1f567b32c1cc52d51dd1fc90e333b9781"],"secs":36,"stamp":"b3cb808d5030d62853ad2230970210e7","tree":"ab35871bf3b5c8715c61745538d5324e6872cf40","v":1,"via":"run"}
Ci-Attestation: {"at":1795146035,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"f01ba8e83abab56028239dae769649d2dfa3cc559a5133d44c615cb5afb5d526","lane":"client-lint","parents":["d78cfde1f567b32c1cc52d51dd1fc90e333b9781"],"secs":36,"stamp":"51e1660461bcaf31240b7e8638b879dc","tree":"ab35871bf3b5c8715c61745538d5324e6872cf40","v":1,"via":"run"}
Ci-Attestation: {"at":1795146034,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"f01ba8e83abab56028239dae769649d2dfa3cc559a5133d44c615cb5afb5d526","lane":"client-lint","parents":["d78cfde1f567b32c1cc52d51dd1fc90e333b9781"],"secs":36,"stamp":"3cbe2fe8569e07c447f7d1032bf5a4a5","tree":"ab35871bf3b5c8715c61745538d5324e6872cf40","v":1,"via":"run"}
Ci-Attestation: {"at":1795146034,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"f01ba8e83abab56028239dae769649d2dfa3cc559a5133d44c615cb5afb5d526","lane":"client-lint","parents":["d78cfde1f567b32c1cc52d51dd1fc90e333b9781"],"secs":36,"stamp":"b8bdafc3c2356075f72a6e36a034d273","tree":"ab35871bf3b5c8715c61745538d5324e6872cf40","v":1,"via":"run"}
zackees
marked this pull request as ready for review
November 20, 2026 04:03
zackees
enabled auto-merge
November 20, 2026 04:03
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pins the current
obs_canvas_clear_mixlist and ownership behavior, then moves the function verbatim intolibobs/obs-canvas-clear-mix.c.hand the sorted S unity group before its Rust swap.The C-source fixture uses real private layouts, darray operations and mutexes. Its recording teardown boundary verifies removal before free, the lock held during free, pointer clearing after unlock, one free, and unchanged canvas/source strong and weak references. Cases cover no mix (including no core and an unrelated list entry), one mix, removal at every position among several mixes, an unregistered mix, duplicate entries, and the existing NULL-canvas fault in an isolated Linux child. It starts no graphics or video thread. Downstream graphics/video teardown remains outside this source-only unit characterization.
RED:
d78cfde1f567b32c1cc52d51dd1fc90e333b9781fails the real CMake target build because the extracted include is missing. GREEN:529d4fe42822f2c9377e1708e28eac59846f4878adds the unchanged C body and the reviewed fixture fixes. The canonical test graph and tests.d pointer follow the sibling canvas extraction; no new link-support files are needed. The source and registration hunks merge cleanly with the fetched #5295 branch.Validation:
/W4 /WXcompile passes../lintpasses (476.2 s); clud-review is clean. The entirenative_build::module passes within the GREEN host run (9,263 passed; the sole timeout is the unchanged obs-util pipe test).pipe_parity::process::dead_pipe_write_survives_concurrent_spawnstimeout observed on RED and GREEN. Ordinary PR CI remains required. The broad optional Linux legacy-consumer build was stopped at 1,849/3,408 steps on the pre-ci/build: share native link support across Rust-static consumers #5246 base; its focused OFF/ON replacement passes.Refs #5324. Separate Rust swap: #5326. Rust tiers 1/3 and protocol tier 4 do not apply to this C-only prerequisite. This behavior-neutral extraction needs no features-ledger entry.