Double buffer swapping is done in WindowManager class after render call