[X11] Add support for EGL/GLESv2 when using X11
Merge pull request #5113 from Phaeodaria/egl-x11-pr

[X11] Add support for EGL/GLESv2 when using X11