moved the r_mode list and related code to the renderer common so we dont neep to update the same code in 3 places