Framebuffer implementation.