Prefer EGL to GLX for the GL support on X11

Emmanuele Bassi requested to merge ebassi/egl-x11 into master

GLX is considered legacy, at this point. New functionality to expose zero-copy buffer passing is implemented as EGL extensions, for instance. The Mesa developers have recommended using EGL in place of GLX for a while, now.

The Wayland and Windows backend already have switched to EGL, so might as well bring the X11 backend forward.

The GLX backend support is still in place in case EGL is not available—and as a debug toggle.

Edited by Emmanuele Bassi

Merge request reports