framebuffer code optimize
update doc