Enable texture compression on the fly
Do not compress empty texture
Fix memleak
Generate mipmap on the fly for compressed
Indicate srgb textures and use a srgb framebuffer.
Merge branch 'TextureCompression' into linearcolorspace
some work