gl_compileboxmask3vga
Compress a masked bitmap
Part of gl_compileboxmask(3).
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 4 releases since Debian 2.0 (Hamm).