mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-14 13:07:54 +00:00
[host] nvfbc: remove rectangles that are entirely contained in others
This makes nvfbc report less useless damage and makes the client run faster.
This commit is contained in:
parent
e945955d13
commit
d3ea9662bf
1 changed files with 2 additions and 0 deletions
|
@ -428,6 +428,8 @@ static void updateDamageRects(CaptureFrame * frame)
|
|||
};
|
||||
}
|
||||
|
||||
rectId = rectsRejectContained(frame->damageRects, rectId);
|
||||
|
||||
done:
|
||||
frame->damageRectsCount = rectId;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue