1
0
Fork 0
godot/platform/web
Rémi Verschelde 26db0bb15f SCons: Make `lto=auto` prefer ThinLTO over full LTO for LLVM targets
This speeds up build time considerably for these platforms compared to
using `lto=full`, which is sadly single-threaded with LLVM, unlike GCC.

Changes to default behavior of `lto=auto` (i.e. `production=yes`):
- Linux: Prefer ThinLTO for LLVM
- Web: Prefer ThinLTO
- Windows: Prefer ThinLTO for llvm-mingw

The following LLVM targets don't use LTO by default currently, which
needs to be assessed further (gains from LLVM LTO on performance need
to be weighed against the potential size increase from heavy inlining):
- Android
- iOS
- macOS
- Windows clang-cl
2025-01-09 13:03:58 +01:00
..
api [Web] Fix Web Editor plugin being added to SCons multiple times 2024-11-18 18:34:29 +01:00
doc_classes Web: Export ASTC/BPTC compressed textures 2025-01-06 12:31:22 +01:00
editor [Web] Fix Web Editor plugin being added to SCons multiple times 2024-11-18 18:34:29 +01:00
export Merge pull request #101178 from BlueCube3310/web-high-quality 2025-01-08 21:48:13 +01:00
js Merge pull request #100482 from adamscott/fix-closure-issues 2024-12-17 16:19:29 +01:00
README.md
SCsub Merge pull request #99963 from Faless/web/no_ip 2024-12-17 22:59:42 +01:00
audio_driver_web.cpp [Web] Restore ScriptProcessorNode audio driver fallback 2024-12-10 18:22:03 +01:00
audio_driver_web.h [Web] Restore ScriptProcessorNode audio driver fallback 2024-12-10 18:22:03 +01:00
detect.py SCons: Make `lto=auto` prefer ThinLTO over full LTO for LLVM targets 2025-01-09 13:03:58 +01:00
display_server_web.cpp Support MIME types in file dialog filters on macOS and Linux. 2025-01-04 22:05:35 +02:00
display_server_web.h Embedding game process in editor 2024-12-18 17:52:42 -05:00
dom_keys.inc Add InputEventKey.location to tell left from right 2024-01-26 14:42:28 +01:00
emscripten_helpers.py Merge pull request #98901 from adamscott/add-editor-ensure-crossorigin-isolation-headers 2024-11-27 10:47:13 -06:00
eslint.config.cjs Add samples playback support 2024-06-18 11:06:31 -04:00
godot_audio.h Honor `pitch_scale` value before playing audio sample 2024-08-20 10:29:32 -04:00
godot_js.h [Web] Add IME input support. 2023-12-15 19:11:10 +02:00
godot_midi.h Add Web MIDI support 2024-12-15 21:24:15 +11:00
godot_webgl2.h Add MSAA support for WebXR 2023-12-11 09:01:24 -06:00
http_client_web.cpp Allow ClassDB to create a Object without postinitialization for GDExtension. 2024-08-20 20:19:02 +08:00
http_client_web.h Allow ClassDB to create a Object without postinitialization for GDExtension. 2024-08-20 20:19:02 +08:00
ip_web.cpp [Web] Implement dummy IPWeb instead of IPUnix 2024-11-28 20:47:18 +01:00
ip_web.h [Web] Implement dummy IPWeb instead of IPUnix 2024-11-28 20:47:18 +01:00
javascript_bridge_singleton.cpp Add `JavaScriptBridge` buffer methods 2024-09-16 12:13:34 -04:00
net_socket_web.cpp [Web] Implement dummy NetSocketWeb 2024-12-03 14:30:35 +01:00
net_socket_web.h [Web] Implement dummy NetSocketWeb 2024-12-03 14:30:35 +01:00
os_web.cpp Implement a "Recovery Mode" for recovering crashing/hanging projects during initialization 2025-01-03 10:50:15 +00:00
os_web.h Implement a "Recovery Mode" for recovering crashing/hanging projects during initialization 2025-01-03 10:50:15 +00:00
package-lock.json fix: platform/web/package.json & platform/web/package-lock.json to reduce vulnerabilities 2024-12-18 10:28:34 +00:00
package.json fix: platform/web/package.json & platform/web/package-lock.json to reduce vulnerabilities 2024-12-18 10:28:34 +00:00
platform_config.h [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching. 2023-09-21 14:21:00 +03:00
platform_gl.h Disable `*glGetProcAddress()` on the web 2024-06-24 10:57:22 -05:00
serve.py [Web] Fix browser opening too early with serve.py 2024-08-01 05:38:36 +02:00
web_main.cpp [Web] Fix Web Editor plugin being added to SCons multiple times 2024-11-18 18:34:29 +01:00
web_runtime.cpp
webmidi_driver.cpp Add Web MIDI support 2024-12-15 21:24:15 +11:00
webmidi_driver.h Add Web MIDI support 2024-12-15 21:24:15 +11:00

README.md

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.