godot/platform/javascript
Fabio Alessandrelli 6c1c2ed414
[HTML5] Fix target_fps when window loses focus.
We don't get updates when the window is unfocused/minimized, so we must
detect the situation where the counted ticks start drifting away
resulting in more frames drawn than needed.
This commit adds a check to ensure that the target ticks do not drift
away more than one second.

(cherry picked from commit a1fe6d6899)
2021-05-09 17:14:36 +02:00
..
api Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
export Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
js [HTML5] Implement WebGL fallback. 2021-04-06 12:56:45 +02:00
.eslintrc.engine.js [HTML5] Document Engine and EngineConfig (jsdoc). 2021-02-26 15:35:38 +01:00
.eslintrc.js [HTML5] Enforce JavaScript style with eslint. 2020-11-23 13:26:19 +01:00
.eslintrc.libs.js Add support for WebXR 2021-01-04 17:01:42 -06:00
SCsub [HTML5] Add PWA support to the editor page. 2021-03-08 17:06:41 +01:00
audio_driver_javascript.cpp Modernize Thread 2021-02-18 11:58:08 +01:00
audio_driver_javascript.h Modernize Thread 2021-02-18 11:58:08 +01:00
detect.py [HTML5] Fix build for recent emscripten versions. 2021-04-30 08:02:21 +02:00
dom_keys.inc [HTML5] Add support for `physical_keycode`. 2021-05-06 23:19:46 +03:00
emscripten_helpers.py [HTML5] Export as Progressive Web App. 2021-04-27 15:09:03 +02:00
godot_audio.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
godot_js.h [HTML5] Implement WebGL fallback. 2021-04-06 12:56:45 +02:00
http_client.h.inc [HTML5] Use 64KiB chunk size in JS HTTPClient. 2021-05-09 17:14:35 +02:00
http_client_javascript.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
javascript_eval.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
javascript_main.cpp [HTML5] Fix target_fps when window loses focus. 2021-05-09 17:14:36 +02:00
javascript_runtime.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
logo.png Optimize images losslessly using `oxipng -o6 --strip all --zopfli` 2019-10-12 23:23:33 +02:00
os_javascript.cpp [HTML5] Add support for `physical_keycode`. 2021-05-06 23:19:46 +03:00
os_javascript.h [HTML5] Opt-in virtual keyboard support. 2021-03-11 20:58:09 +01:00
package-lock.json [HTML5] Add jsdoc2rst tool. 2021-02-26 15:35:45 +01:00
package.json [HTML5] Add jsdoc2rst tool. 2021-02-26 15:35:45 +01:00
platform_config.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
run_icon.png Optimize images losslessly using `oxipng -o6 --strip all --zopfli` 2018-06-28 19:17:41 +02:00