add hint shape
update demo
impl some sdl interfaces and clear bitmap device