glamor: prefer to use bgra textures for OpenGL ES

xserver uses PICT_x8r8g8b8 and PICT_a8r8g8b8 as a default formats for 24 and 32 bit depth pictures. For these picture formats we need to use GL_BGRA texture formats. In OpenGL ES 2.0 GL_BGRA formats are present only with GL_EXT_texture_format_BGRA8888.

Signed-off-by: Yuriy Vasilev <>
5 jobs for gles20 in 10 minutes and 14 seconds (queued for 17 seconds)