I found that in game development, most people set a timer whichthat gets triggered every 16ms andto do the render thingsrendering.
As an Android programmer, I'm familiar with the Choreographer. You set a callback whichthat will do the drawing staffstuff, and each time vsync happens, the callback is called.
I know the originoriginal use of vsync is to prevent modifying the buffer when the front buffer and the back buffer is switchingare being switched. But don't you think making the drawing/render code hashave the same period withas the actual screen refresh rate (in an ideal situation) is better?
So is there any reason why people don't prefer the vsync callback or vsync event based design?
Edit: OneOne reason I can come up with is that if a monitor is 75Hz, it will be too frequencyhigh-frequency to do the renderrendering, right?