Draft: Improve read-back: Formats (2/3)
This MR proposes utilities to better handle texture and framebuffer objects handling in the GL renderer and ports existing code to these. It also adds support for more wl_shm RGB and YUV formats in the GL renderer.
Renderbuffer read-back format has been reworked too in order to use the optimal format per output for the OpenGL implementation.
It is the 2nd of a set of MRs trying to improve buffer read-back in the GL renderer.
This is a big MR that could be further split if needed.