Commit Graph

3079 Commits

Author SHA1 Message Date
ocornut
e7d2d636af Merge branch 'master' into docking
# Conflicts:
#	imgui.cpp
2025-10-14 19:33:36 +02:00
ocornut
9a5d5c45f5 Version 1.92.4 2025-10-14 19:26:56 +02:00
ocornut
25e5baf5f0 (Breaking) Clipper: commented out legacy IncludeRangeByIndices name obsoleted in 1.89.9. (#6424, #3841) 2025-10-14 19:00:50 +02:00
ocornut
c8db91b7b4 (Breaking) TreeNode, Selectable: commented out legacy ImGuiTreeNodeFlags_AllowItemOverlap, ImGuiSelectableFlags_AllowItemOverlap names obsoleted in 1.89.7.
Amend 51f564e
2025-10-14 19:00:49 +02:00
ocornut
94ed5b1408 Docs: improve docking API comments and demo. (#9000) 2025-10-14 18:14:59 +02:00
ocornut
702cc9993a Relaxed internal assert in MarkItemEdited() some more. (#8997)
Amend e7a734f78d, 5a2b1e8482
2025-10-14 16:31:38 +02:00
ocornut
96ad003000 Nav, Docking, Selection: Fixed tab change from reinitializing navigation state. (#8997) 2025-10-14 16:30:30 +02:00
ocornut
28ed29078b Relaxed internal assert in MarkItemEdited() some more. (#8997)
Amend e7a734f78d, 5a2b1e8482
2025-10-14 16:07:07 +02:00
ocornut
2c49902159 Docs: reformat changlog entries. 2025-10-13 15:16:15 +02:00
ocornut
f9571ce4d3 Merge branch 'master' into docking
# Conflicts:
#	backends/imgui_impl_dx12.cpp
#	docs/CHANGELOG.txt
#	imgui.cpp
2025-10-13 15:13:06 +02:00
ocornut
bad5ee167b Shortcuts: added support for combining ImGuiInputFlags_RouteFocused with ImGuiInputFlags_RouteOverActive,. (#9004) 2025-10-13 15:06:34 +02:00
ocornut
878c863af4 Docs: reformat changlog entries. 2025-10-13 13:25:02 +02:00
Rémy Tassoux
9be4f150ef Backends: DirectX12: Reuse texture upload buffer and grow it only when necessary. (#9002) 2025-10-13 13:19:37 +02:00
ocornut
8de97d14d8 Backends: DX10, DX11: avoid ImGui_ImplXXXX_SwapBuffers() handlers for secondary viewports crashing if SwapChain could not be created.
It's not really clear when that would fail but someone privately reported, and since we allow failure in ImGui_ImplDX11_CreateWindow() it makes sense to allow it here.
2025-10-10 18:31:20 +02:00
ocornut
2b770a029b InputText: fixed an infinite loop error happening if a custom input text callback modifies/clear BufTextLen before calling InsertChars(). (#8994, #3237)
+ misc comments.
2025-10-08 19:06:12 +02:00
ocornut
ee3d16f150 Demo: fixed layout issue in "Layout & Scrolling -> Scrolling" section. 2025-10-06 18:39:10 +02:00
ocornut
2128e2f44b Style: added ImGuiCol_UnsavedMarker. (#8983) 2025-10-06 12:16:48 +02:00
ocornut
f6754fd812 Merge branch 'master' into docking 2025-10-03 19:07:29 +02:00
ocornut
3ac624b795 Update FAQ.md typos. (#8862) 2025-10-03 18:26:06 +02:00
omar
a97b0c32ab Update FAQ.md 2025-10-02 20:31:14 +02:00
ocornut
bcf722e637 Docs: updated FAQ "What is the difference between Dear ImGui and traditional UI toolkits?". (#8862) 2025-10-02 20:14:43 +02:00
ocornut
a0a6639fb5 Viewports: rename ImGuiBackendFlags_HasParentViewportId->ImGuiBackendFlags_HasParentViewport. (#8948)
Introduced yesterday by 50a8bb2.
2025-10-02 16:20:24 +02:00
ocornut
0f7f6284d7 Merge branch 'master' into docking
# Conflicts:
#	docs/CHANGELOG.txt
2025-10-01 18:41:16 +02:00
ocornut
8c22b8aef6 Textures: allowed backend to destroy texture while inside the NewFrame/EndFrame scope. (#8811) 2025-10-01 18:39:40 +02:00
ocornut
fc4105c8a8 Backends: DX9,DX10,DX11,DX12,Metal,Vulkan,WGPU,SDLRenderer2,SDLRenderer3: ensure that a texture in _WantDestroy state always turn to _Destroyed. (#8977)
Amend 9809b0b. Strictly speaking this is not necessary anymore but it seems generally sane to promote this.
2025-10-01 17:49:22 +02:00
ocornut
ea564a6a5e Textures: fixed a crash if a texture marked as _WantDestroy by a backend after it had already been destroyed. (#8977, #8811) 2025-10-01 17:40:20 +02:00
ocornut
9809b0b061 Textures: Fixed not updating ImTextureData's RefCount when destroying a context using a shared ImFontAtlas. (#8975) 2025-10-01 14:59:53 +02:00
ocornut
b987970870 Textures: fixed an issue preventing multi-contexts sharing a ImFontAtlas from being possible to destroy in any order. 2025-10-01 14:59:40 +02:00
ocornut
3563f1e270 Viewports: store ImGuiViewport* ParentViewport pointer as well. Backends: SDL3, Win32: use this pointer to reduce lookups. (#8948) 2025-09-30 18:42:57 +02:00
ocornut
50a8bb2711 Viewports: added ImGuiBackendFlags_HasParentViewportId backend flag. (#8948) 2025-09-30 17:38:06 +02:00
omar
a3d6e82dbd Update README.md 2025-09-30 16:26:27 +02:00
ocornut
b4514ce64a Backends: DirectX12: enable swapchain tearing if available. (#8965) 2025-09-29 18:36:35 +02:00
ocornut
3dafd9e898 Backends: DirectX12: enable swapchain tearing if available. (#8965) 2025-09-29 18:36:13 +02:00
ocornut
5cd83e689e Backends: DirectX12: amend changelog to clarify fixes. (#3463, #5018) 2025-09-29 16:34:27 +02:00
ocornut
1aa91ac426 Merge branch 'master' into docking
# Conflicts:
#	backends/imgui_impl_dx12.cpp
2025-09-29 16:16:16 +02:00
Rémy Tassoux
5ce903af6e Backends: DX12: Use one fence instead of one by viewport. (master) (#8961) 2025-09-29 16:15:46 +02:00
Rémy Tassoux
bab3ebec14 Backends: DX12: Rework synchronization logic. (master) (#8961) 2025-09-29 16:14:53 +02:00
ocornut
e459e5bf0a Backends: GLFW: fixed build on platform that are neither Windows, macOS or known Unixes. (#8969, #8920, #8921)
Fix 10d0162.

x
2025-09-29 16:12:33 +02:00
Rémy Tassoux
217bc445ff Backends: DirectX12: reuse a command list and allocator for texture uploads. (#8963, #8465) 2025-09-29 15:45:17 +02:00
ocornut
bad3c14ff6 Backends: Vulkan: SwapChainImageUsage assume VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT which is added automatically. (#8946, #8110, #8111, #8686)
Amend e4e3c2c.
2025-09-29 14:57:03 +02:00
ocornut
1c87024840 InputText: fixed single-line InputText() not applying fine character clipping properly (regression in 1.92.3). (#8967) 2025-09-29 13:38:27 +02:00
ocornut
e4e3c2cc23 Backends: Vulkan: amends for docking. Add PipelineInfoForViewports and SwapChainImageUsage. (#8946, #8110, #8111, #8686) 2025-09-26 18:46:17 +02:00
ocornut
f3e85310e7 Merge branch 'master' into docking
# Conflicts:
#	backends/imgui_impl_vulkan.cpp
#	backends/imgui_impl_vulkan.h
#	docs/CHANGELOG.txt
2025-09-26 18:33:38 +02:00
ocornut
3470e6112b (Breaking) Backends: Vulkan: moved fields in ImGui_ImplVulkan_InitInfo: RenderPass, Subpass, MSAASamples, PipelineRenderingCreateInfo. (#8946, #8110, #8111, #8686) 2025-09-26 18:23:51 +02:00
ocornut
e312b99296 (Breaking) Backends: Vulkan: renamed ImGui_ImplVulkan_MainPipelineCreateInfo to ImGui_ImplVulkan_PipelineInfo. (#8110, #8111) 2025-09-26 18:18:33 +02:00
ocornut
5fe962216a (Breaking) Backends: Vulkan: added 'VkImageUsageFlags image_usage' parameter to ImGui_ImplVulkanH_CreateOrResizeWindow(). (#8946, #8110, #8111, #8686)
Default to VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT.
2025-09-26 18:12:47 +02:00
johan0A
01686c6294 Backends: Vulkan: added a way to specify custom vertex/fragment shaders. (#8585, #8271) 2025-09-26 15:44:02 +02:00
David Maas
3d937beb62 Examples: DX10, DX11: Disabled DXGI's Alt+Enter default behavior in examples. (#4350) 2025-09-25 17:35:45 +02:00
David Maas
15c88c4941 Backends: DX10, DX11, DX12: Disabled DXGI's Alt+Enter default behavior on secondary viewports. (#4350)
Removed use of DXGI_MWA_NO_PRINT_SCREEN from original PR.
2025-09-25 17:30:32 +02:00
ocornut
cee40f8af9 Examples: made examples's main.cpp consistent with returning 1 on error. 2025-09-24 17:48:48 +02:00