Add OBS program texture ring option

This commit is contained in:
Meta Vens 2026-05-28 00:04:52 +01:00
commit 9b559a0ebf
10 changed files with 145 additions and 52 deletions

View file

@ -327,10 +327,13 @@ OBS-readable shared D3D11 bridge texture. The video path is GPU-to-GPU and does
not require Spout2 or CPU readback; the remaining copy is the explicit D3D12 to
libobs-D3D11 boundary. Fensalir publishes `Global\MimirFensalirProgramFence`,
and the OBS source opens that producer fence before copying. This prevents
blind read-before-producer-completion; a later publication ring is still needed
to make overwrite races structurally impossible. `scripts/build-obs-stem-plugin.ps1`
stages the upstream OBS plugin-template SDK under `artifacts/obs-sdk/` and
builds the plugin DLL locally.
blind read-before-producer-completion. An optional texture ring is available
when Fensalir and OBS agree on `FENSALIR_PROGRAM_OUTPUT_RING_COUNT`; OBS selects
the latest completed slot from the producer fence value. A later consumer
acknowledgement fence is still needed to make overwrite races structurally
impossible. `scripts/build-obs-stem-plugin.ps1` stages the upstream
OBS plugin-template SDK under `artifacts/obs-sdk/` and builds the plugin DLL
locally.
## Visual Fusion