For all the other cases we will need to do the composition ourselves, in a host-independent way, with the help of the host if possible but only for things like partial presentation, or maybe with our own accelerated composition engine.
So Wine creating its own version of gamescope isn't off the table, right? Cambalache recently kind of did this as an alternative way to render both GTK 3 and 4 GUIs