Instead of checking whether the wlr_egl dependencies are available in the GLES2 code, introduce internal_features['egl'] and check that field. When updating the EGL dependency list, we no longer need to update the GLES2 logic.
The GLES2 renderer depends on EGL, which depends on GBM for device selection.
Allow selecting whether the GLES2 renderer gets enabled. Co-authored-by: Simon Ser <contact@emersion.fr>
This will make it easier to toggle when we make our GLES2 renderer optional.