support for multiple framebuffers