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_osx.h | ||
context_gl_osx.mm | ||
crash_handler_osx.h | ||
crash_handler_osx.mm | ||
detect.py | ||
dir_access_osx.h | ||
dir_access_osx.mm | ||
display_server_osx.h | ||
display_server_osx.mm | ||
godot_main_osx.mm | ||
joypad_osx.cpp | ||
joypad_osx.h | ||
logo.png | ||
os_osx.h | ||
os_osx.mm | ||
platform_config.h | ||
platform_osx_builders.py | ||
SCsub | ||
vulkan_context_osx.h | ||
vulkan_context_osx.mm |