+ framebuffer lua-side implementation