-
-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make Dear ImGui support explicit multiple contexts used in parallel #5856
base: master
Are you sure you want to change the base?
Commits on Nov 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5ecc29d - Browse repository at this point
Copy the full SHA 5ecc29dView commit details -
pre-generation: Remove DebugAllocHook from MemAlloc and MemFree
-- This commit is a preparation toward adding ImGui apis with explicit context and making ImGui applications being able to use multiple context at the same time whatever their concurrency model. -- DebugAllocHook forces MemAlloc and MemFree to be dependent on ImGuiContext. In the scenario where the context need to be explicit, it means forward the context to every MemAlloc and MemFree calls. This sounds cumbersome. Instead, this commit remove the use of DebugAllocHook to make MemAlloc and MemFree independent from ImGuiContext.
Configuration menu - View commit details
-
Copy full SHA for eec2b43 - Browse repository at this point
Copy the full SHA eec2b43View commit details -
pre-generation: Make ImGui::ShowFontAtlas be a public API
-- This commit is a preparation toward adding ImGui apis with explicit context and making ImGui applications being able to use multiple context at the same time whatever their concurrency model. -- imgui_demo.cpp forward declare ImGui::ShowFontAtlas because it does not to include imgui_internal.h. The fact ImGui::ShowFontAtlas is not a public API but can be used in user code (e.g imgui_demo.cpp) add an unecessary corner case to the conversion from implicit context to explicit context. Instead of dealing with this corner case, I am suggested to have ImGui::ShowFontAtlas become a regular public API
Configuration menu - View commit details
-
Copy full SHA for 65ea0d1 - Browse repository at this point
Copy the full SHA 65ea0d1View commit details -
[generated] Convert Dear ImGui API to use an explicit ImGuiContext.
This commit has been generated by the make_explicit_imgui.py script available in the https://github.com/Dragnalith/make_explicit_imgui/ repository.
Configuration menu - View commit details
-
Copy full SHA for 5560f2a - Browse repository at this point
Copy the full SHA 5560f2aView commit details -
post-generation: Remove global ImGuiContext
-- This commit is part of the conversion of Dear ImGui toward explicit context API. This commit is supposed to be applied *after* make_explicit_imgui.py has been run. -- foo
Configuration menu - View commit details
-
Copy full SHA for 4801b80 - Browse repository at this point
Copy the full SHA 4801b80View commit details -
post-generation: Remove OnceUponAFrame helper
This helper makes the assumption only one global context in the application. It is not compatible with a Dear ImGui version where the context is explicit. -- This commit is part of the conversion of Dear ImGui toward explicit context API. This commit is supposed to be applied *after* make_explicit_imgui.py has been run. --
Configuration menu - View commit details
-
Copy full SHA for b250199 - Browse repository at this point
Copy the full SHA b250199View commit details -
post-generation: Fix corner cases related to API conversion to explic…
…it context Some corner case need to be converted by hand: - API which already had explicit context overload need to be removed - Function call defined in preprocessor define are not handled by the script - Style init function - API defined in code compiled out because of `#if ... #endif` -- This commit is part of the conversion of Dear ImGui toward explicit context API. This commit is supposed to be applied *after* make_explicit_imgui.py has been run. --
Configuration menu - View commit details
-
Copy full SHA for 58915c2 - Browse repository at this point
Copy the full SHA 58915c2View commit details -
post-generation: Convert Win32 backend to use explicit context API
-- This commit is part of the conversion of Dear ImGui toward explicit context API. This commit is supposed to be applied *after* make_explicit_imgui.py has been run. --
Configuration menu - View commit details
-
Copy full SHA for c336836 - Browse repository at this point
Copy the full SHA c336836View commit details -
post-generation: Convert DX12 backend to use explicit context API
-- This commit is part of the conversion of Dear ImGui toward explicit context API. This commit is supposed to be applied *after* make_explicit_imgui.py has been run. --
Configuration menu - View commit details
-
Copy full SHA for 65f3b52 - Browse repository at this point
Copy the full SHA 65f3b52View commit details -
post-generation: Convert DX12 example to use explicit context API
-- This commit is part of the conversion of Dear ImGui toward explicit context API. This commit is supposed to be applied *after* make_explicit_imgui.py has been run. --
Configuration menu - View commit details
-
Copy full SHA for 6d6b190 - Browse repository at this point
Copy the full SHA 6d6b190View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6743576 - Browse repository at this point
Copy the full SHA 6743576View commit details