This will call into Cogl and ask it to resize the framebuffer which will then update the underlying EGL surface.