Add the MESA_bgra GLES extension

This extensions adds the pairs BGRA_EXT/RGBA8 and BGR_EXT/RGB8
to the accepted combinations for format/internalformat in the
TexImage and TexSubImage calls. This is of interest in virtualized
enviornments where one wants to emulate a subset of OpenGL in a guest
that runs on a host that supports only GLES.
3 files changed