platforms/x11: Split out the EGL for X11 backend
EGL for X and EGL for Wayland backends are quite different. The main motivation behind this change is to prepare the EGL backends for monitoring vblank events. Things work quite differently depending on if the EGL backend renders onto a toplevel window or overlay window.
Showing with 281 additions and 195 deletions