Hi,
these are some small additions I use that I figured might be useful to someone else as well.
Attached is a patch to add support for compressed textures and draw-pixels/read-pixels. I'm not sure of how well these last two play with various pixelstore modes but it does everything I need it to do (eg. take screenshots, peek at the depth-buffer etc).
Sincerely yours, Mikael Lax
PS: Patch is against cl-opengl-thomas branch.