[FIX] Halo Invalidation Tweak

Bob Arning arning at charm.net
Mon Dec 18 13:57:50 UTC 2000


On Mon, 18 Dec 2000 01:56:39 -0500 Doug Way <dway at riskmetrics.com> wrote:
>After playing with showing the damage rectangles, I was thinking that
>maybe this was because the various halos (and images?) added up to more
>than 15 rectangles, so it was just combining them into one rectangle. 
>However, I changed the line in DamageRecorder>>recordInvalidRect: to
>"invalidRects size >= 500", and it still redraws the big rectangle, so
>it must be invalidating it somewhere else, but I haven't dug into it.  I
>guess I'd like to add this one to the "Puzzle Page" if someone wants to
>look into it. :)

Hi Doug,

The big damage rectangle is the HaloMorph itself (the thing that the handles are submorphs of). It could be argued that, since this guy is transparent, he doesn't need to report damage, but then you would need to be sure to report the damage for all the individual parts (handles and name). Which would be faster would depend a lot on what was on the screen.

Cheers,
Bob





More information about the Squeak-dev mailing list