Re: Programming a game
Re: Programming a game
- Subject: Re: Programming a game
- From: Clark Cox <email@hidden>
- Date: Sun, 16 Nov 2003 18:13:01 -0500
On Nov 16, 2003, at 15:14, Ambroise Confetti wrote:
>
>
About syncing your redraw with vertical retrace, you have to be careful
>
with that, since it can also reduce the frame rate.
If your framerate is reduced by synching with the VBL, then that is a
*good* thing, as drawing frames faster than the VBL is a waste, as the
user will never be able to see it. For example, if the screen refreshes
at 60 Hz, but you're drawing at 120 fps, then half of your frames will
never be drawn to the screen, and any CPU time that you spent rendering
those never-displayed frames is wasted.
--
Clark S. Cox III
email@hidden
http://homepage.mac.com/clarkcox3/blog/B1196589870/index.html
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.