This still needs all the bells and whistles from the egl-kms mesa branch, but it makes it a lot easier to work on wayland.