Quartz Display Services replacement for deprecated functions

Discussion in 'Mac Programming' started by techgentsia, Jan 30, 2013.

  1. macrumors newbie

    Joined:
    Jul 19, 2011
    #1
    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.
     
  2. macrumors 6502

    Madd the Sane

    Joined:
    Nov 8, 2010
    Location:
    Utah
    #2
    Why do you need this data? What are you trying to do?
     
  3. thread starter macrumors newbie

    Joined:
    Jul 19, 2011
    #3
    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.
     
  4. macrumors 6502

    Madd the Sane

    Joined:
    Nov 8, 2010
    Location:
    Utah
    #4
    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.
     
  5. macrumors 68000

    Joined:
    Jan 28, 2003
    Location:
    Less lost in L.A.
    #5
    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.
     

Share This Page