A nimrod library for interfaceing with video graphics accelerators