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

@@ -192,7 +192,7 @@ function show(no)
else
slot = draworcache(no,globalzoom,offset_x,offset_y,width,height,globalgamma)
end
fb:blitFullFrom(cache[slot].bb)
fb.bb:blitFullFrom(cache[slot].bb)
if rcount == rcountmax then
print("full refresh")
rcount = 1