@sjw @lanodan @matrix well lanodan answered which software to try. if you meant "how would that work", wayland keeps it simple by handing each app a private surface to draw pixels on plus some opaque callbacks for various things. so the app does whatever it wants to do with the gpu, cpu, whatever, writes whatever it wants out to the surface, and triggers the callback to tell the display manager that it's done
at that point the manager can do whatever it wants with the surface. usually that would be compositing it and updating the framebuffer on the gpu but it's free to encode it as video, save it to disk, send it over the network, whatever. the downside to this being that you're forced to stream video instead of draw commands which is very bandwidth hungry and if you use any compression on the video stream then text and other line drawings tends to become fuzzy. y'know, the usual VNC downsides that X can avoid in many cases
the upside is that it's conceptually simple so there isn't as much potential for weird glitches, unexpected security concerns, etc