Re: Coalesced updates = pain
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