macosx: Refactor setupVoutForWindow to improve readability
When reading this rather large method method it is not entirely clear at a glance what is going on. By splitting up each of its tasks into smaller methods it becomes much more easy to understand what is being done, which should help make this code more maintainable.
Signed-off-by: Claudio Cambra developer@claudiocambra.com
Edited by Claudio Cambra