1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-18 01:14:19 +00:00
imgui/backends
Tim Kane 6054b1a2a1 Needed a little more work to resolve a number of outstanding thread sanitiser concerns
This is a little nasty..
I'm trying to keep all changes localised to imgui_impl_osx.mm

Ideally the ImGui_IO_lock would live within ImGuiIO but I didn't want to muddy the waters

Perhaps better if this lock primitive is delivered through BackendPlatformUserData, and only used where provided

This change requires the client platform to explicitly lock the primitive from outside of ImGui around ImGui::NewFrame specifically, and additionally from anywhere on the client side (external to ImGui) that concurrently hooks into ImGuiIO

That requires the client to define an extern lock (and use it appropriately)
 extern NSlock *ImGui_IO_lock

If this lock were native to ImGui we could have ImGui::NewFrame() handle the lock on our behalf, negating the need for client side locking
2025-07-12 18:46:26 +10:00
..
sdlgpu3 Backends: SDLGPU3: Added sdl_gpu backend (amends). (#8163, #7998, #7988) 2025-01-09 16:55:03 +01:00
vulkan Backends: SDLGPU3: Added sdl_gpu backend (amends). (#8163, #7998, #7988) 2025-01-09 16:55:03 +01:00
imgui_impl_allegro5.cpp Backends: using range-for to iterate draw_data->CmdLists[]. 2025-07-11 17:41:52 +02:00
imgui_impl_allegro5.h Backends: Allegro5: added ImGuiBackendFlags_RendererHasTextures support. 2025-06-11 15:41:05 +02:00
imgui_impl_android.cpp Backends: SDL2, SDL3, OSX: Fill gamepad inputs and set ImGuiBackendFlags_HasGamepad regardless of ImGuiConfigFlags_NavEnableGamepad being set. (#8508) 2025-03-21 15:42:47 +01:00
imgui_impl_android.h Backends: SDL2, SDL3, OSX: Fill gamepad inputs and set ImGuiBackendFlags_HasGamepad regardless of ImGuiConfigFlags_NavEnableGamepad being set. (#8508) 2025-03-21 15:42:47 +01:00
imgui_impl_dx9.cpp Backends: using range-for to iterate draw_data->CmdLists[]. 2025-07-11 17:41:52 +02:00
imgui_impl_dx9.h Backends: DirectX9: added ImGuiBackendFlags_RendererHasTextures support 2025-06-11 15:27:11 +02:00
imgui_impl_dx10.cpp Backends: using range-for to iterate draw_data->CmdLists[]. 2025-07-11 17:41:52 +02:00
imgui_impl_dx10.h Backends: DirectX10: added ImGuiBackendFlags_RendererHasTextures support. 2025-06-11 15:27:16 +02:00
imgui_impl_dx11.cpp Backends: using range-for to iterate draw_data->CmdLists[]. 2025-07-11 17:41:52 +02:00
imgui_impl_dx11.h Backends: DirectX11: added ImGuiBackendFlags_RendererHasTextures support. 2025-06-11 15:26:00 +02:00
imgui_impl_dx12.cpp Backends: using range-for to iterate draw_data->CmdLists[]. 2025-07-11 17:41:52 +02:00
imgui_impl_dx12.h Backends: DirectX12: added ImGuiBackendFlags_RendererHasTextures support. 2025-06-11 15:27:19 +02:00
imgui_impl_glfw.cpp Backends: GLFW, SDL2: ImplXXX_GetContentScaleXXX() helpers return 1.0f on emscripten / apple / android (#8742, #8733) 2025-07-08 15:53:42 +02:00
imgui_impl_glfw.h Backends: GLFW: Added support for multiple Dear ImGui contexts. (#8676, #8239, #8069) 2025-06-18 16:46:37 +02:00
imgui_impl_glut.cpp Fixed tabs and spaces (#8377) 2025-02-06 19:54:43 +01:00
imgui_impl_glut.h Backends: standardized top of file comments. 2024-12-05 12:43:04 +01:00
imgui_impl_metal.h Backends: Metal: added ImGuiBackendFlags_RendererHasTextures support. 2025-06-11 15:41:05 +02:00
imgui_impl_metal.mm Backends: using range-for to iterate draw_data->CmdLists[]. 2025-07-11 17:41:52 +02:00
imgui_impl_opengl2.cpp Backends: using range-for to iterate draw_data->CmdLists[]. 2025-07-11 17:41:52 +02:00
imgui_impl_opengl2.h Backends: OpenGL2: added ImGuiBackendFlags_RendererHasTextures support. 2025-06-11 15:30:45 +02:00
imgui_impl_opengl3.cpp Backends: using range-for to iterate draw_data->CmdLists[]. 2025-07-11 17:41:52 +02:00
imgui_impl_opengl3.h Backends: OpenGL3: added ImGuiBackendFlags_RendererHasTextures support. 2025-06-11 15:29:14 +02:00
imgui_impl_opengl3_loader.h Backends: OpenGL3: added ImGuiBackendFlags_RendererHasTextures support. 2025-06-11 15:29:14 +02:00
imgui_impl_osx.h Backends: OSX: added ImGuiMouseCursor_Wait and ImGuiMouseCursor_Progress mouse cursor support. (#8739) 2025-06-27 13:35:03 +02:00
imgui_impl_osx.mm Needed a little more work to resolve a number of outstanding thread sanitiser concerns 2025-07-12 18:46:26 +10:00
imgui_impl_sdl2.cpp Backends: GLFW, SDL2: ImplXXX_GetContentScaleXXX() helpers return 1.0f on emscripten / apple / android (#8742, #8733) 2025-07-08 15:53:42 +02:00
imgui_impl_sdl2.h Backends: SDL2: added ImGui_ImplSDL2_GetDpiScaleForDisplay(), ImGui_ImplSDL2_GetContentScaleForWindow() helpers. 2025-06-11 16:12:41 +02:00
imgui_impl_sdl3.cpp Backends: SDL3: avoid calling SDL_StartTextInput() again if already active. (#8727) 2025-06-27 16:35:59 +02:00
imgui_impl_sdl3.h Backends: SDL2, SDL3, OSX: Fill gamepad inputs and set ImGuiBackendFlags_HasGamepad regardless of ImGuiConfigFlags_NavEnableGamepad being set. (#8508) 2025-03-21 15:42:47 +01:00
imgui_impl_sdlgpu3.cpp Backends: using range-for to iterate draw_data->CmdLists[]. 2025-07-11 17:41:52 +02:00
imgui_impl_sdlgpu3.h Various/misc fixes following back-and-forth dynamic_fonts->master->docking merges. Added missing API BREAKING CHANGES section. 2025-06-11 18:50:16 +02:00
imgui_impl_sdlgpu3_shaders.h Backends: SDLGPU3: Added sdl_gpu backend. (#8163, #7998, #7988) 2025-01-09 16:55:03 +01:00
imgui_impl_sdlrenderer2.cpp Backends: using range-for to iterate draw_data->CmdLists[]. 2025-07-11 17:41:52 +02:00
imgui_impl_sdlrenderer2.h Various/misc fixes following back-and-forth dynamic_fonts->master->docking merges. Added missing API BREAKING CHANGES section. 2025-06-11 18:50:16 +02:00
imgui_impl_sdlrenderer3.cpp Backends: using range-for to iterate draw_data->CmdLists[]. 2025-07-11 17:41:52 +02:00
imgui_impl_sdlrenderer3.h Various/misc fixes following back-and-forth dynamic_fonts->master->docking merges. Added missing API BREAKING CHANGES section. 2025-06-11 18:50:16 +02:00
imgui_impl_vulkan.cpp Backends: using range-for to iterate draw_data->CmdLists[]. 2025-07-11 17:41:52 +02:00
imgui_impl_vulkan.h Backends: Vulkan: added ImGuiBackendFlags_RendererHasTextures support. 2025-06-11 15:33:28 +02:00
imgui_impl_wgpu.cpp Backends: using range-for to iterate draw_data->CmdLists[]. 2025-07-11 17:41:52 +02:00
imgui_impl_wgpu.h Backends: WGPU: added ImGuiBackendFlags_RendererHasTextures support. (#8465) 2025-06-12 15:31:51 +02:00
imgui_impl_win32.cpp Backends: Fixed various warnings discovered when using MinGW GCC 15/Clang on latest backends. 2025-06-20 15:18:00 +02:00
imgui_impl_win32.h Backends: SDL2, SDL3, OSX: Fill gamepad inputs and set ImGuiBackendFlags_HasGamepad regardless of ImGuiConfigFlags_NavEnableGamepad being set. (#8508) 2025-03-21 15:42:47 +01:00