Implemented reusable memory spaces for packing/upacking bitmaps to textures