gallium: do a proper implementation of GL_OES_read_format

Examine the currently bound color buffer's format to see if there's a good
format/type match.
5 files changed