Skip to content

Improve the low processor mode sleep precision

Created by: Calinou

Windows 64-bit editor build for testing: https://0x0.st/i-iB.zip (link expires in late 2020)

The Low Processor Usage Mode Sleep Usec setting is now used as a FPS limiter rather than a constant sleep duration.

This will increase CPU/GPU usage slightly due to the higher effective FPS, but the increase in overall smoothness is worth it. When used in the editor, it will now really cap at ~145 FPS (as it's supposed to) instead of ~130 FPS.

If both Force Fps and Low Processor Usage Mode settings are enabled in the project settings, only the setting that causes the highest sleep duration will be retained.

@Zylann Please test this 🙂

This closes #11030.

Merge request reports