glamor formats
In trying to review the gles2 work in another MR (!106 (closed)) and get things working on v3d's GLES3, I once again was confused (RGB/UBYTE for 565!) and infuriated (so many disparate switch statements) by the state of our format handling.
This doesn't get GLES working, but I think we should start from this in trying to make it work.