Factor code into SDL.Video.Renderer from SDL.Video