wlroots/types/output
Gabriel Ford 06d3d48aa2 wlr_scene: fix fullscreen app stuttering when screensharing
Problem: The wlroots implementation of wlr_screencopy applys a lock for
a brief duration every time a frame is captured. If an output is
eligible for direct scanout then this will result in direct scanout
being rapidly toggled on and off since the lock count constantly flips
between 0 and 1. On some hardware this causes stuttering every time
direct scanout is enabled then disabled.

Solution: To mitigate this we wait for there to be 0 locks for 120
frames so that we can be relatively confident that screen recording has
stopped before we re-enable direct scanout.
2025-10-16 18:47:11 -04:00
..
cursor.c output/cursor: fix missing second cursor 2025-09-11 12:21:52 +00:00
output.c wlr_scene: fix fullscreen app stuttering when screensharing 2025-10-16 18:47:11 -04:00
render.c backend: replace get_buffer_caps hook with a struct field 2024-12-25 18:40:05 +00:00
state.c output: add color primaries to output state 2025-06-18 00:07:58 +02:00
swapchain.c swapchain, damage_ring: Drop buffer age 2024-08-21 09:45:54 -04:00