mirror of
https://github.com/spoopyghosty0/frameport.git
synced 2026-10-25 07:02:46 +01:00
Opt-in game setting (Picture -> Draw fades over the picture). Batman: Arkham Shadow fades by dimming its projection layer with XR_KHR_composition_layer_color_scale_bias; with fade_quad=1 FrameBridge adds a black, alpha-blended quad right after the dimmed layer (VIEW space, 1 m ahead), opacity = 1 - scale in 16 steps. One 8x8 swapchain, refilled only when the step changes (Vulkan clear on the app's queue / GLES clear in its context); one swapchain per step hit XR_ERROR_LIMIT_REACHED. fade_quad=2 also removes the layer's own scale. Device (headless, Batman): swapchain created, level 16/16 on the first frame, no xrEndFrame errors, 72 fps.