Re: Ways Apple COULD optimize -setNeedsDisplay
Re: Ways Apple COULD optimize -setNeedsDisplay
- Subject: Re: Ways Apple COULD optimize -setNeedsDisplay
- From: "Erik M. Buck" <email@hidden>
- Date: Tue, 18 Dec 2001 10:34:11 -0600
- Organization: EMB & Assocites Inc.
The window display logic could just call each view's displayInRect: the
correct number of times for the number of invalid rects that must be
re-displayed. The real key is that views that do not need to be
re-displayed at all should not be displayed at all. Right now, the entire
content of a window must be redrawn just because two small views on opposite
corners of the window need re-display. This was definitely NOT necessary in
Openstep 4.2 for Windows. We sell a high end animation application that
does not exhibit this ridiculous behavior.
----- Original Message -----