This is how I understood the game loop, and I wanted to know if I'm correct or not:
1) Draw/render -> input
CPU | GPU
------------------
Update |
Draw |
Input | Rendering
2) Input -> Draw/render
CPU | GPU
------------------
Input |
Update |
Draw |
(nothing?) | Rendering
By rendering I mean updating the actual frame. What happens in the second case? Is the CPU doing nothing or is it checking input for the next frame already? Are there any differences from checking input before or after the update/draw part?