Better estimation of framebuffer sizing