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:
HW
2011-12-02 01:31:13 +01:00
parent dfbdad5cbf
commit f739baff5f
8 changed files with 341 additions and 250 deletions

View File

@@ -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);