mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-02-08 13:45:37 +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:
|
done:
|
||||||
frame->damageRectsCount = rectId;
|
frame->damageRectsCount = rectId;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue