mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
moved blitting over to blitbuffer API
the framebuffer "object" now has a "member" that exposes the blitbuffer API for the framebuffer pixmap. This allows to reuse blitting & Co for blitbuffer-to-blitbuffer operations
This commit is contained in:
@@ -26,7 +26,9 @@
|
||||
typedef struct BlitBuffer {
|
||||
int w;
|
||||
int h;
|
||||
uint8_t data[1];
|
||||
int pitch;
|
||||
uint8_t *data;
|
||||
uint8_t allocated;
|
||||
} BlitBuffer;
|
||||
|
||||
int luaopen_blitbuffer(lua_State *L);
|
||||
|
||||
Reference in New Issue
Block a user