This helps diagnose issues on multi-GPU setups, particularly when
only one of them supports RenderingDevice-based rendering methods.
This can be the case on old laptops with an Intell Haswell IGP
and a NVIDIA Maxwell dedicated GPU, where the IGP does not support
RenderingDevice but the dedicated GPU does.
(In this case, Godot must be forced to run on the dedicated GPU
to allow using RenderingDevice-based rendering methods.)
This makes the project manager more friendly to keyboard usage.
You can now create projects more easily without touching the mouse
by opening the project manager, pressing Ctrl + N, entering a project
name and pressing Enter.
In the “Create New Project” dialog, disabling the “Create Folder” slider with a trailing slash in the project path would cause it to incorrectly identify the last path component as the substring following the slash, in other words, an empty string.
By first discarding any trailing slashes when disabling the slider, the project dialog will now identify and pop the last path component as usual even when a trailing slash is present.
- Extract individual components to their own files.
- Improve order of declarations and definitions within those files.
- ProjectDialog is only extracted as there are upcoming
PRs touching on it.