• 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: Coalesced updates = pain
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Coalesced updates = pain


  • Subject: Re: Coalesced updates = pain
  • From: Guy English <email@hidden>
  • Date: Sat, 23 Jul 2005 03:13:44 -0400

Hey John,

    vblank, man, it can be a stinker. :) It's on by default in 10.4 so
each time you call displayRect it's going to wait for the vertical
retrace. On an LCD I think it's at 60Hz but I haven't timed it. If you
went back to the setNeedsDisplayInRect: method it'd all be fine
because it'd automatically do what you're now doing explicitly. Check
out needsDisplayInRect -  it will check for intersections between the
rect you want to draw and the rects marked as dirty. Actually, it will
probably be faster than what you're doing now because right now you're
just manually invalidating a largest region that you need to. Hope
that helps.

Take care,
Guy
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Coalesced updates = pain
      • From: Guy English <email@hidden>
References: 
 >Coalesced updates = pain (From: John Stiles <email@hidden>)
 >Re: Coalesced updates = pain (From: Corbin Dunn <email@hidden>)
 >Re: Coalesced updates = pain (From: John Stiles <email@hidden>)
 >Re: Coalesced updates = pain (From: Corbin Dunn <email@hidden>)
 >Re: Coalesced updates = pain (From: John Stiles <email@hidden>)
 >Re: Coalesced updates = pain (From: John Stiles <email@hidden>)

  • Prev by Date: Swapping toolbars
  • Next by Date: Re: Coalesced updates = pain
  • Previous by thread: Re: Coalesced updates = pain
  • Next by thread: Re: Coalesced updates = pain
  • Index(es):
    • Date
    • Thread