syncing gpu to cpu on each frame