Incorporate a library that can do basic texture compression (DXT1, DXT5, BC6, BC7)
Add functionality to provide compressed texture pixels on construction
Note that you can technically provide non-compressed data and let the GPU driver compress it, but their compression is notoriously low-quality so we explicitly forbid it in B+.
GL.set_tex_compressed()
GL.get_tex_compressed()
Note that you can technically provide non-compressed data and let the GPU driver compress it, but their compression is notoriously low-quality so we explicitly forbid it in B+.