[Linux/BSD] Offload RenderingDevice creation test to subprocess.

This commit is contained in:
Pāvels Nadtočajevs 2025-03-04 10:39:04 +02:00
parent 1753893c60
commit 6ed12bfc5d
11 changed files with 149 additions and 50 deletions

View file

@ -362,9 +362,9 @@ public:
// This is invoked by the GDExtensionManager after loading GDExtensions specified by the project.
virtual void load_platform_gdextensions() const {}
// Windows only. Tests OpenGL context and Rendering Device simultaneous creation. This function is expected to crash on some NVIDIA drivers.
virtual bool _test_create_rendering_device_and_gl() const { return true; }
virtual bool _test_create_rendering_device() const { return true; }
// Tests OpenGL context and Rendering Device simultaneous creation. This function is expected to crash on some NVIDIA drivers.
virtual bool _test_create_rendering_device_and_gl(const String &p_display_driver) const { return true; }
virtual bool _test_create_rendering_device(const String &p_display_driver) const { return true; }
OS();
virtual ~OS();