• 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
Re: drawing in a separate thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: drawing in a separate thread


  • Subject: Re: drawing in a separate thread
  • From: Ricky Sharp <email@hidden>
  • Date: Sat, 3 May 2008 08:44:58 -0500


On May 3, 2008, at 8:30 AM, Graham Cox wrote:

Cocoa already coalesces updates in this way, so when drawRect: is called, the list of rects is the merged list.

I does raise a question though - is there a way to get, at any point in time, the list of merged rects needing update from a view *at that point* - in other words, outside of a drawRect: call, can I found out what has been marked for update so far? That would be useful.


You may have to step down to CoreGraphics (CG) APIs. Perhaps CGWaitForScreenRefreshRects or some other API would be helpful?

___________________________________________________________
Ricky A. Sharp         mailto:email@hidden
Instant Interactive(tm)   http://www.instantinteractive.com

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: drawing in a separate thread (From: Duncan <email@hidden>)
 >Re: drawing in a separate thread (From: Graham Cox <email@hidden>)
 >Re: drawing in a separate thread (From: Jean-Daniel Dupas <email@hidden>)
 >Re: drawing in a separate thread (From: Graham Cox <email@hidden>)

  • Prev by Date: dockMenu bug?
  • Next by Date: Re: drawing in a separate thread
  • Previous by thread: Re: drawing in a separate thread
  • Next by thread: Re: drawing in a separate thread
  • Index(es):
    • Date
    • Thread