Direct scanout is a feature where the window manager configures the display controller to read the swapchain image buffer of a fullscreen window directly, without compositing. This reduces click-to-photon latency and may improve performance.
This will focus on KDE Plasma Wayland/KWin Wayland, but direct scanout is available on other compositors as well (like gnome, niri, cosmic, etc.). X11 might behave differently.
Direct scanout will be enabled automatically for a window once it becomes compatible and theres nothing blocking direct scanout.