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

@ -26,6 +26,7 @@ public static class MimirEveProgramOutputConfigurations
{
public const string DefaultSharedTextureName = "Global\\MimirFensalirProgramTexture";
public const string DefaultSharedFenceName = "Global\\MimirFensalirProgramFence";
public const int DefaultSharedTextureRingCount = 1;
public static MimirEveProgramOutputConfiguration NativeSharedTexture { get; } = new(
"eve-native-d3d12-hardware-stream",
@ -43,7 +44,8 @@ public static class MimirEveProgramOutputConfigurations
[
"FENSALIR_PROGRAM_OUTPUT_D3D12=1",
$"FENSALIR_PROGRAM_OUTPUT_NAME={DefaultSharedTextureName}",
$"FENSALIR_PROGRAM_OUTPUT_FENCE_NAME={DefaultSharedFenceName}"
$"FENSALIR_PROGRAM_OUTPUT_FENCE_NAME={DefaultSharedFenceName}",
$"FENSALIR_PROGRAM_OUTPUT_RING_COUNT={DefaultSharedTextureRingCount}"
],
"EVE owns decode/composite only. It does not own layout, DOM, timing authority, or Chromium compatibility.");