Bug 1043822 - Support SW Vsync Timer

Use nanosleep to implement SW Vsync Timer
add software vsync timer support