Steps to reproduce:
export MESA_GLES_VERSION_OVERRIDE=2.0
Xephyr :1 -glamor_gles2
DISPLAY=:1 xeyes
Result: