add software vsync timer support