gl_compileboxmask3
Compress a masked bitmap
Usage
#include <vgagl.h>
void gl_compileboxmask(int w, int h, void *sdp, void *ddp);
Overview
Convert the rectangular masked bitmap of size (w, h) at sdp to a compressed format that allows faster drawing, which is stored at ddp. Allocating w * h bytes for the compiled version is usually enough; an upper limit should be (w + 2) * h.
Compiled bitmaps are only supported in linear 256 color modes.
Releases
Unchanged in 5 releases since Debian 3.1 (Sarge).