Kawe Mazidjatari
6cf88dc16c
Engine: render ImGui in main thread and fix many threading bugs
...
ImGui drawing code now takes place in the main thread, a snapshot of the render data is created in CMaterialSystem::SwapBuffers(), and is being rendered in the render thread right before SpinPresent().
The reason why this was necessary, is because ConVar::GetString() isn't thread safe if its not marked FCVAR_MATERIAL_SYSTEM_THREAD or FCVAR_ACCESSIBLE_FROM_THREADS, and we used it for the console suggestions window, which iterates over every ConVar, accessible from threads or not.
2024-04-05 18:17:12 +02:00
..
2024-04-05 18:13:33 +02:00
2024-04-05 18:13:33 +02:00
2024-04-05 18:06:36 +02:00
2022-05-15 00:29:25 +02:00
2023-03-27 17:42:11 +02:00
2024-04-05 18:17:12 +02:00
2024-04-05 18:13:32 +02:00
2024-04-05 17:19:32 +02:00
2024-04-05 18:13:31 +02:00
2024-04-05 17:51:19 +02:00
2024-04-05 18:07:38 +02:00
2024-04-05 17:19:32 +02:00
2023-05-15 14:47:03 +02:00
2024-04-05 18:13:32 +02:00
2024-04-05 18:13:32 +02:00
2023-05-15 14:47:03 +02:00
2024-04-05 16:41:09 +02:00
2024-04-05 17:19:32 +02:00
2024-04-05 18:13:32 +02:00
2024-04-05 18:13:32 +02:00
2023-06-03 18:08:16 +02:00
2024-04-05 16:45:05 +02:00
2024-04-05 17:19:32 +02:00
2024-04-05 17:19:32 +02:00
2024-04-05 17:42:05 +02:00
2022-10-23 01:20:49 +02:00
2024-04-05 16:41:09 +02:00
2024-04-05 18:13:32 +02:00
2024-04-05 17:19:32 +02:00
2022-04-18 03:35:24 +02:00
2024-04-05 17:19:32 +02:00
2024-04-05 17:19:32 +02:00
2024-04-05 17:19:32 +02:00
2024-04-05 18:17:12 +02:00
2024-04-05 17:19:32 +02:00
2024-04-05 17:52:57 +02:00
2024-04-05 17:19:32 +02:00
2024-04-05 17:12:52 +02:00
2024-04-05 17:19:32 +02:00
2024-04-05 16:41:09 +02:00
2024-04-05 17:19:32 +02:00
2023-01-22 16:48:16 +01:00
2024-04-05 17:19:32 +02:00
2024-04-05 16:41:09 +02:00
2024-04-05 17:19:34 +02:00
2024-04-05 18:13:32 +02:00
2024-04-05 17:59:53 +02:00
2024-04-05 18:13:32 +02:00
2024-04-05 18:13:32 +02:00
2024-04-05 17:56:53 +02:00
2024-04-05 17:59:53 +02:00
2023-05-15 14:47:03 +02:00
2022-05-15 00:29:25 +02:00
2024-04-05 18:13:32 +02:00
2024-04-05 17:52:57 +02:00
2024-04-05 17:26:16 +02:00
2024-04-05 17:26:16 +02:00
2024-04-05 18:13:32 +02:00
2024-04-05 17:19:32 +02:00
2024-04-05 18:13:31 +02:00
2024-04-05 17:19:32 +02:00
2024-04-05 17:19:32 +02:00
2024-04-05 17:19:32 +02:00
2024-04-05 18:17:12 +02:00
2024-04-05 17:19:32 +02:00
2024-04-05 18:17:12 +02:00
2024-04-05 17:19:32 +02:00
2024-04-05 17:52:57 +02:00
2024-04-05 17:19:32 +02:00
2024-04-05 17:19:32 +02:00