godot/main
Rémi Verschelde b77423370a
Fix cross-platform configuration of rendering driver settings
Simpler alternative to #103026 which avoids breaking compatibility.

Instead of introducing a new `auto` default value, we ensure that all
supported drivers are registered regardless of the editor's host platform,
and that the defaults are the intended ones.

This solves the following issues:
- macOS exports are meant to default to Metal in 4.4, but they would
  default to Vulkan if exported from Linux, Windows, or Android editors.
- Windows exports couldn't be made with Direct3D 12 from Linux, macOS, or
  Android editors, as the option couldn't be selected outside Windows.

Unlike #103026, it doesn't solve the issue of not always saving the
rendering drivers to `project.godot`, but now the defaults are at least
consistent between editor platforms.

Co-authored-by: Pāvels Nadtočajevs <7645683+bruvzg@users.noreply.github.com>
2025-02-23 12:28:59 +01:00
..
app_icon.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
main.cpp Fix cross-platform configuration of rendering driver settings 2025-02-23 12:28:59 +01:00
main.h Cleanup Android input on render thread settings 2024-07-09 09:15:18 -07:00
main_builders.py SCons: Remove run_in_subprocess dependency 2024-03-11 13:20:09 -05:00
main_timer_sync.cpp Fixed Timestep Interpolation (3D) 2024-07-07 22:15:23 +02:00
main_timer_sync.h Add frame delta smoothing option (4.x) 2023-05-16 13:57:25 +01:00
performance.cpp [Main] Fix missing performance data 2025-01-07 20:04:26 +01:00
performance.h Implement asynchronous transfer queues, thread guards on RenderingDevice. Add ubershaders and rework pipeline caches for Forward+ and Mobile. 2024-10-02 15:11:58 -03:00
SCsub SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
splash.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2019-10-12 23:23:33 +02:00
steam_tracker.cpp Fix various typos 2025-01-08 14:47:42 +02:00
steam_tracker.h Fix various typos 2025-01-08 14:47:42 +02:00