I salute Manuel Stoeckl; this is impressive for a summer project. Hopefully this will also put to rest the biggest objection to Wayland adoption.
https://mstoeckl.com/notes/gsoc/blog.html
They are definitely worth going through and Manuel Stoeckl deserves a lot of good karma for taking this on.