For computers, the information of what to draw to the screen is held in a block of memory called the screen buffer. If you write out to the screen while it is being filled you can get bad artifacts like tearing where the screen has parts of two different frames of the game. So you want to send over the next frame after the current frame finishes but before the next one starts drawing.