Framebuffer abstraction library