[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

+6
View File
@@ -61,6 +61,12 @@ void framebuffer_prepare(FrameBuffer * frame);
*/
bool framebuffer_write(FrameBuffer * frame, const void * src, size_t size);
/**
* Gets the underlying data buffer of the framebuffer.
* For custom read routines only.
*/
const uint8_t * framebuffer_get_buffer(const FrameBuffer * frame);
/**
* Gets the underlying data buffer of the framebuffer.
* For custom write routines only.