[common] rects: implement routine to copy rectangles from framebuffer

This commit is contained in:
Quantum
2021-08-06 23:58:26 -04:00
committed by Geoffrey McRae
parent cab95c5eed
commit 0462cee9db
4 changed files with 41 additions and 1 deletions

View File

@@ -42,4 +42,8 @@ void rectsBufferToFramebuffer(FrameDamageRect * rects, int count,
FrameBuffer * frame, int dstStride, int height,
const uint8_t * src, int srcStride);
void rectsFramebufferToBuffer(FrameDamageRect * rects, int count,
uint8_t * dst, int dstStride, int height,
const FrameBuffer * frame, int srcStride);
#endif