[common] rects: add rectsMergeOverlapping helper function

This is based on the client's util_mergeOverlappingRects.
This commit is contained in:
Quantum authored and Geoffrey McRae committed 2021-08-11 19:01:52 +10:00
1 parent 22bbc2457e
commit 604b44d6d8
2 files changed
+47

No files matched your search

+2
View File
@@ -46,4 +46,6 @@ void rectsFramebufferToBuffer(FrameDamageRect * rects, int count,
uint8_t * dst, int dstStride, int height,
const FrameBuffer * frame, int srcStride);
int rectsMergeOverlapping(FrameDamageRect * rects, int count);
#endif