6f426c3360
Extracted the most minimal core initialization functionality from `setup()` and `setup2()` so that `ClassDB` could be tested properly (input, audio, rendering, physics etc, are excluded). Display and rendering servers/singletons are not initialized at all. Due to the fact that most subsystems are disabled, fixed various crashes in the process (in order): - `AcceptDialog` OK/cancel swap behavior (used `DisplayServer` while `register_scene_types()`); - `make_default_theme` which depends on `RenderingServer`; - `XRServer` singleton access while calling `register_modules_types()`; - hidden bug in a way joypads are cleaned up (MacOS and Linux only). Removed manual `ClassDB` init/cleanup calls from `test_validate_testing.h`. ClassDB tests: Co-authored-by: Ignacio Etcheverry <ignalfonsore@gmail.com> |
||
---|---|---|
.. | ||
export | ||
context_gl_x11.cpp | ||
context_gl_x11.h | ||
crash_handler_linuxbsd.cpp | ||
crash_handler_linuxbsd.h | ||
detect_prime_x11.cpp | ||
detect_prime_x11.h | ||
detect.py | ||
display_server_x11.cpp | ||
display_server_x11.h | ||
godot_linuxbsd.cpp | ||
joypad_linux.cpp | ||
joypad_linux.h | ||
key_mapping_x11.cpp | ||
key_mapping_x11.h | ||
logo.png | ||
os_linuxbsd.cpp | ||
os_linuxbsd.h | ||
pck_embed.ld | ||
pck_embed.legacy.ld | ||
platform_config.h | ||
platform_linuxbsd_builders.py | ||
SCsub | ||
vulkan_context_x11.cpp | ||
vulkan_context_x11.h |