Faster OpenGL in Cocoa

Posts: 869
Joined: 2003.01
Post: #31
I believe that Apple thinks the timer will actually fire at its given interval, while in games it is not actually the case, it will fire as soon as the previous loop is completed, which is exactly what we want. Of course creating a game with 10000fps would be nonsense, but that never happens anyway.

I understand the worry about CPU burn for a non-game app, which may do absolutely nothing during its idle loop, and a high timer frequency will waste a lot of resources on doing nothing very often.
Quote this message in a reply
Posts: 3,591
Joined: 2003.06
Post: #32
I believe you are correct DoG. Too bad the Tech Q&A doesn't read easily enough to make that distinction apparent (at least not from game developers' point of view).
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Opengl/Cocoa text rendering tesil 15 22,308 Mar 20, 2012 11:16 AM
Last Post: OneSadCookie
  OpenGL Text Rendering (in Cocoa) daveh84 5 9,684 Feb 19, 2009 12:44 PM
Last Post: TomorrowPlusX
  OpenGL & Cocoa - Improving frame rate daveh84 4 7,311 Feb 2, 2009 06:53 AM
Last Post: backslash
  bad depth sorting in Cocoa OpenGL aldermoore 2 5,635 Dec 30, 2008 03:07 PM
Last Post: ThemsAllTook
  Loading and using textures with alpha in OpenGL with Cocoa corporatenewt 4 8,641 Dec 8, 2007 02:06 PM
Last Post: Malarkey