a889aa9e38a8b9a013cf53f6f3a8fc4d914837f4
This PR introduces a more precise sleep function `BLI_time_sleep_duration` using high-resolution timers on Windows. By default, Windows only has a resolution of 15.25ms for the regular `Sleep` function. Using more precise timers makes sure that Blender can wake from sleep quicker and improves performance at high frame rates. High-resolution timers may have better energy efficiency than using `timeBeginPeriod`/`timeEndPeriod` that change the timer resolution globally on some versions of Windows. Pull Request: https://projects.blender.org/blender/blender/pulls/140221
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline—modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
