mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-26 07:17:23 +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
@ -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 New Issue
Block a user