[common] rects: add rectsRejectContained function

This function will remove rectangles in a list that are entirely contained
in another rectangle in the same list.
This commit is contained in:
Quantum authored and Geoffrey McRae committed 2021-08-13 20:21:27 +10:00
1 parent 566c89e9d8
commit e945955d13
2 files changed
+28 -1

No files matched your search

+1
View File
@@ -47,5 +47,6 @@ void rectsFramebufferToBuffer(FrameDamageRect * rects, int count,
const FrameBuffer * frame, int srcStride);
int rectsMergeOverlapping(FrameDamageRect * rects, int count);
int rectsRejectContained(FrameDamageRect * rects, int count);
#endif