On a Retina Mac or a scaled Windows display, Native resolution (HiDPI) records at full resolution: 1280x720 on a 2× display becomes 2560x1440. It does nothing on an unscaled display. Above 2560x1440 EnVision warns that the file will be large and asks before continuing. The setting is remembered.
Full guide: Render to Video Tool › Native resolution (HiDPI)