Make X11 backend redraw on expose.
Clean before draw, to have clean surface at startup.
Use frame callback list.
Remove useless forward declarations.
Basic EGL support.

TODO: Need to use the damaged swap extension.
And fallback to other heuristics when it's not available for flicker
free updates.