separated resolution listing into platform specific code