• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
LCD refresh rate (was: Re: NSScreenNumber)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LCD refresh rate (was: Re: NSScreenNumber)


  • Subject: LCD refresh rate (was: Re: NSScreenNumber)
  • From: Alex Eddy <email@hidden>
  • Date: Wed, 29 Oct 2003 18:50:18 -0800

On Oct 29, 2003, at 5:00 PM, email@hidden wrote:
Nice to know yet another unsupported hack or two can now be eliminated.
...
- (double)refreshRate
{
...
return refresh_rate > 0.0 ? refresh_rate : 60.0;
}

Speaking of unsupported hacks! If you really care about accurate timing, you cannot just assume that the refresh rate is 60Hz when CoreGraphics lies to you and says it is zero.

You'll have to read the real refresh rate out of the LCD EDID with a few kernel calls.
See: http://homepage.mac.com/arekkusu/bugs/ReadEDID.dmg

You'll find that some LCD panels (such as the 17" AlBook) in fact do not refresh at exactly 60 Hz, which can make a big difference if your application is sensitive to small timing issues.
_______________________________________________
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.
  • Prev by Date: Re: Application Architecture Question...
  • Next by Date: Re: Archive
  • Previous by thread: Re: Sample code for a Finder hack - "haxies"
  • Next by thread: Data source
  • Index(es):
    • Date
    • Thread