Adding to the changes for GNOME 42 this spring is the Mutter Wayland compositor now taking into account sub-surfaces when determining direct scanout capabilities…
Source: Phoronix – GNOME On Wayland Lands Improved Handling For Direct Scanout Support