badd774c28
pixel-formats already stores the gl_format, at least for single-planar formats; use that instead of storing our own copies. Signed-off-by: Daniel Stone <daniels@collabora.com>