Fixed the flushing optimization code. Updated the documentation.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2540 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Ovidiu Predescu 1997-10-22 00:27:59 +00:00
parent 502453429f
commit 63b4191f3a
10 changed files with 76 additions and 46 deletions

View file

@ -668,9 +668,8 @@ static BOOL _needsFlushWindows = YES;
// NSLog (@"_collectFlushRectangles");
[_flushRectangles removeAllObjects];
originMatrix = [[content_view _frameMatrix] copy];
[originMatrix concatenateWith:[content_view _boundsMatrix]];
sizeMatrix = [[content_view _boundsMatrix] copy];
originMatrix = [PSMatrix new];
sizeMatrix = [PSMatrix new];
[content_view _collectInvalidatedRectanglesInArray:_flushRectangles
originMatrix:originMatrix