TinyPTC is a cross-platform framebuffer library
with a simple API (a subset of OpenPTC). It
features a few output targets such as raw XLib,
XShm, XDbe, XDga 1/2, etc. It also automatically
manages colordepth conversions on-the-fly if such
a feature is needed.