[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:
Quantum authored and Geoffrey McRae committed 2021-08-13 20:21:27 +10:00
1 parent e945955d13
commit d3ea9662bf
1 file changed
+2
@@ -428,6 +428,8 @@ static void updateDamageRects(CaptureFrame * frame)
};
}
rectId = rectsRejectContained(frame->damageRects, rectId);
done:
frame->damageRectsCount = rectId;
}