Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

techgentsia

macrumors newbie
Original poster
Jul 19, 2011
9
0
The method CGWaitForScreenRefreshRects is deprecated in Mac OS X v10.8. The alternative method mentioned in class reference(CGRegisterScreenRefreshCallback) is also deprecated. :mad:

What should I use to get the screen updates in 10.8?
Someone please help me.
 

techgentsia

macrumors newbie
Original poster
Jul 19, 2011
9
0
Thanks for responding. I am trying a desktop sharing application for which I need a method which returns the screen changes/updates. The method I use works, but is deprecated in 10.8. No replacement mentioned in reference manuel.
 

Madd the Sane

macrumors 6502a
Nov 8, 2010
534
73
Utah
Have you tried looking into the APIs that Quartz Debug uses? Try looking at the symbols using "nm -mp" from the terminal. There may be some API whose name looks promising.
 

xStep

macrumors 68020
Jan 28, 2003
2,030
143
Less lost in L.A.
For some reason I think AV Foundation has what you're looking for. I recently watched a WWDC, 2012 I think, video about it and they mention screen captures for Mac OS.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.