virtualx-engine/platform/web
Rémi Verschelde c2c659db32 SCons: Refactor LTO options with lto=<none|thin|full>
Adds support for LTO on macOS and Android. We don't have much experience
with LTO on these platforms so for now we keep it disabled by default
even when `production=yes` is set.

Similarly for iOS where we ship object files for the user to link in
Xcode so LTO makes builds extremely slow to link.

`production=yes` defaults to full LTO.
ThinLTO is much faster for LLVM-based compilers but seems to produce
bigger binaries (at least for the Web platform).
2022-09-08 10:00:02 +02:00
..
api Rename JavaScript singleton to JavaScriptBridge 2022-09-02 21:11:15 +08:00
export Merge pull request #65460 from Faless/net/4.x_ssl_to_tls_more 2022-09-08 09:20:19 +02:00
js [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00
.eslintrc.engine.js [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00
.eslintrc.js [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00
.eslintrc.libs.js [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00
audio_driver_web.cpp [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00
audio_driver_web.h [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00
detect.py SCons: Refactor LTO options with lto=<none|thin|full> 2022-09-08 10:00:02 +02:00
display_server_web.cpp [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00
display_server_web.h [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00
dom_keys.inc [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00
emscripten_helpers.py [Web] Require threads, rtti, allow optimize=speed. 2022-08-30 20:01:19 +02:00
godot_audio.h [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00
godot_js.h [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00
godot_webgl2.h [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00
http_client_web.cpp [Net] Rename "ssl" references to "tls" in methods and members. 2022-09-08 03:24:23 +02:00
http_client_web.h [Net] Rename "ssl" references to "tls" in methods and members. 2022-09-08 03:24:23 +02:00
javascript_bridge_singleton.cpp Rename JavaScript singleton to JavaScriptBridge 2022-09-02 21:11:15 +08:00
logo.png [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00
os_web.cpp Rename JavaScript singleton to JavaScriptBridge 2022-09-02 21:11:15 +08:00
os_web.h [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00
package-lock.json [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00
package.json [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00
platform_config.h [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00
README.md [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00
run_icon.png [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00
SCsub Rename JavaScript singleton to JavaScriptBridge 2022-09-02 21:11:15 +08:00
serve.json [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00
web_main.cpp [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00
web_runtime.cpp [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00

Web platform port

This folder contains the C++ and JavaScript code for the Web platform port, compiled using Emscripten.

It also contains a ESLint linting setup (see package.json).

See also misc/dist/html folder for additional files used by this platform such as the html shell (web page).

Documentation

Artwork license

logo.png and run_icon.png are licensed under Creative Commons Attribution 3.0 Unported per the HTML5 logo usage guidelines.