summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_disassembler.cpp
diff options
context:
space:
mode:
authorlawnjelly <lawnjelly@gmail.com>2021-09-01 15:47:12 +0100
committerlawnjelly <lawnjelly@gmail.com>2023-05-16 13:57:25 +0100
commit7925670f81593f64f434d24552c1eec41b241308 (patch)
tree1cfddf980b858e181e29c513173ee7766a46f5a8 /modules/gdscript/gdscript_disassembler.cpp
parentffd32a244b43ff58c13819c2debf8cf3b58ecbdc (diff)
downloadredot-engine-7925670f81593f64f434d24552c1eec41b241308.tar.gz
Add frame delta smoothing option (4.x)
Frame deltas are currently measured by querying the OS timer each frame. This is subject to random error. Frame delta smoothing instead filters the delta read from the OS by replacing it with the refresh rate delta wherever possible. This PR also contains code to estimate the refresh rate based on the input deltas, without reading the refresh rate from the host OS. The delta_smooth_enabled setting can also be modified at runtime through OS::, and there is also now a command line setting to override the project setting.
Diffstat (limited to 'modules/gdscript/gdscript_disassembler.cpp')
0 files changed, 0 insertions, 0 deletions