Campbell Barton
00dc747702
Fix T99706: Crash rendering with headless builds
...
When rendering with headless builds, show an error instead of crashing.
Previously GPU_backend_init was called indirectly from
DRW_opengl_context_create, a new function is now called from the window
manager (GPU_backend_init_once), so it's possible to check if the GPU
has a back-end.
This also disables the `bgl` Python module when building WITH_HEADLESS.
Reviewed By: fclem
Ref D15463
2022-07-15 22:16:44 +10:00
..
2022-07-15 22:16:44 +10:00
2022-07-14 22:02:52 +10:00
2022-07-15 11:16:14 +02:00
2022-06-20 10:14:17 -05:00
2022-05-09 08:07:37 +02:00
2022-07-15 22:16:44 +10:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-22 13:57:05 +01:00
2022-06-29 21:05:21 -07:00
2022-05-27 10:52:49 +02:00
2022-07-05 13:58:52 +10:00
2022-02-11 09:14:36 +11:00
2022-03-18 20:59:27 +01:00
2022-07-15 22:16:44 +10:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-06-29 09:40:16 +10:00
2022-02-11 09:14:36 +11:00
2022-04-14 12:01:31 +02:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-05-17 15:34:02 +10:00
2022-06-01 15:38:48 +10:00
2022-02-11 09:14:36 +11:00
2022-04-04 16:38:30 +02:00
2022-03-30 20:31:12 +02:00
2022-02-11 09:14:36 +11:00
2022-06-30 22:45:42 +02:00
2022-02-11 09:14:36 +11:00
2022-05-11 11:02:01 +10:00
2022-05-13 09:29:25 +10:00
2022-05-19 11:17:01 +10:00
2022-06-07 15:01:03 +10:00
2022-04-14 18:47:58 +02:00
2022-05-15 15:22:47 +02:00
2022-05-11 13:40:09 +10:00
2022-02-11 20:51:27 +09:00