Commit sample code of framebuffer viewer