framebuffer: reorganize in preparation for mixer