• 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: John Stiles <email@hidden>
  • Date: Fri, 22 Jul 2005 17:19:31 -0700

On Jul 22, 2005, at 5:10 PM, Corbin Dunn wrote:

What can I do to update the screen fluidly without redrawing way more screen area than necessary?


Hi John, You probably want to use:

- (void)getRectsBeingDrawn:(const NSRect **)rects count:(int *)count;

And only draw what is in the returned rects.

--corbin


Hmm, that didn't exist when I wrote the code back on OS X 10.2 :) I guess I will use that technique on 10.3+ and use displayRect on 10.2.

_______________________________________________
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: Corbin Dunn <email@hidden>
References: 
 >Coalesced updates = pain (From: John Stiles <email@hidden>)
 >Re: Coalesced updates = pain (From: Corbin Dunn <email@hidden>)

  • Prev by Date: Re: Coalesced updates = pain
  • Next by Date: getting bytes out of NSData
  • Previous by thread: Re: Coalesced updates = pain
  • Next by thread: Re: Coalesced updates = pain
  • Index(es):
    • Date
    • Thread