For reasons best kept hidden
I want to copy a small compressed texture into many sub regions of another (much larger) compressed texture.
The small compressed texture is a tiny 4x4 texels (to match s3tc compression algo) and I want to load this tiny texture once and then 'paste' it MANY times into a larger compressed texture (all done on 4 texel boundaries of course)
Is there an easy way of doing this? I want to avoid re-compressing the 4x4 block (which is semi-static) each time I copy it into the larger texture. I'm hoping for a fast path texture to sub-texture copy.
I know I could use pbuffers but then wouldn't the pbuffer get compressed every time I called glcopytexsubimage2d ?