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

This commit is contained in:
Quantum authored and Geoffrey McRae committed 2021-08-08 08:30:11 +10:00
1 parent cab95c5eed
commit 0462cee9db
4 files changed
+41 -1

No files matched your search

+4
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