GPU: Add Dummy Backend For Unsupported Platforms #110919

Merged
Jeroen Bakker merged 10 commits from Jeroen-Bakker/blender:gpu/dummy-backend into main 2023-08-15 14:15:18 +02:00

10 Commits

Author SHA1 Message Date
Jeroen Bakker 96b72457c7 Merge branch 'main' into gpu/dummy-backend
buildbot/vexp-code-patch-coordinator Build done. Details
2023-08-15 13:37:39 +02:00
Jeroen Bakker 15b86414d5 Add null check to showMessageBox link parameter
buildbot/vexp-code-patch-coordinator Build done. Details
2023-08-15 07:58:54 +02:00
Jeroen Bakker 0024885fa3 Merge branch 'main' into gpu/dummy-backend
buildbot/vexp-code-patch-coordinator Build done. Details
2023-08-11 14:38:23 +02:00
Jeroen Bakker 5ca8c6ee9b Improve message for macOS 2023-08-11 12:55:57 +02:00
Jeroen Bakker fab9fde12c Equalize logic with linux and windows.
buildbot/vexp-code-patch-coordinator Build done. Details
2023-08-10 15:05:37 +02:00
Jeroen Bakker 6fc0a3cb1c Add message box for macos
buildbot/vexp-code-patch-coordinator Build done. Details
2023-08-10 14:53:40 +02:00
Jeroen Bakker cdbae69276 Remove debug code.
buildbot/vexp-code-patch-coordinator Build done. Details
2023-08-08 11:36:54 +02:00
Jeroen Bakker 8167233234 Formatting 2023-08-08 11:35:48 +02:00
Jeroen Bakker 39dc06f41c Add missing files to cmake 2023-08-08 11:34:21 +02:00
Jeroen Bakker 9b9a36e48b GPU: Add Dummy Backend For Unsupported Platforms
With the introduction of metal and vulkan we use a different
GPU backend selection which broke the dialog box for unsupported
platforms.

Blender asserted and segfaulted before the dialog was being shown
to the user.

This patch solves this by introducing a dummy GPU backend in case no
GPU backend was supported by OpenGL, Metal and Vulkan Backend.
2023-08-08 11:21:32 +02:00