Docs: reformat changlog entries.

This commit is contained in:
ocornut
2025-10-13 15:16:15 +02:00
parent f9571ce4d3
commit 2c49902159

View File

@@ -142,37 +142,37 @@ Docking+Viewports Branch:
- Nav: fixed a crash that could occur when opening a popup following the processing - Nav: fixed a crash that could occur when opening a popup following the processing
of a global shortcut while no windows were focused (the fix done in 1.92.3 was of a global shortcut while no windows were focused (the fix done in 1.92.3 was
incomplete for docking branch). incomplete for docking branch).
- Viewports: added ImGuiBackendFlags_HasParentViewport backend flag for - Viewports:
- Added ImGuiBackendFlags_HasParentViewport backend flag for
backend to specify if it can honor the viewport->ParentViewportId value by backend to specify if it can honor the viewport->ParentViewportId value by
applying the corresponding parent/child relation at the Platform level. (#8948) applying the corresponding parent/child relation at the Platform level. (#8948)
- SDL3, Win32 backends: supported. - SDL3, Win32 backends: supported.
- SDL2, GLFW, OSX backends: unsupported. - SDL2, GLFW, OSX backends: unsupported.
- Viewports: fixed a bug where ImGuiWindowFlags_NoBringToFrontOnFocus would effectivey - Fixed a bug where ImGuiWindowFlags_NoBringToFrontOnFocus would effectivey
be ignored when windows first appear and viewports are enabled. (#7008) [@jshofmann] be ignored when windows first appear and viewports are enabled. (#7008) [@jshofmann]
- Viewports: changed default value of io.ConfigViewportsNoDefaultParent to true. (#8948) - Changed default value of io.ConfigViewportsNoDefaultParent to true. (#8948)
- Viewports: fixed an issue inferring Z-order when attempting to merge a viewport - Fixed an issue inferring Z-order when attempting to merge a viewport
back in the the main/hosting viewport. (#8948) back in the the main/hosting viewport. (#8948)
Note that for GLFW/SDL2/OSX backends, which do not support honoring ParentViewportID. Note that for GLFW/SDL2/OSX backends, which do not support honoring ParentViewportID.
setting io.ConfigViewportsNoDefaultParent=true will align imgui's expectation Setting io.ConfigViewportsNoDefaultParent=true will align imgui's expectation
with what the backend does. with what the backend does.
- Viewports: storing `ImGuiViewport* ParentViewport` pointer along with ParentViewportID. - Storing `ImGuiViewport* ParentViewport` pointer along with ParentViewportID.
- Viewports: DestroyContext() does not call DestroyPlatformWindows() anymore at - DestroyContext() does not call DestroyPlatformWindows() anymore at it is
it assumed to be unnecessary as backensd should have done it and we check that assumed to be unnecessary as backends should have done it and we check that
backends have been shutdown since 1.90.4. Changed into asserts. (#7175, #8945) backends have been shutdown since 1.90.4. Changed into asserts. (#7175, #8945)
- Backends: DX10, DX11, DX12: Disabled DXGI's Alt+Enter default behavior on secondary - Backends:
viewports managed by the backend. (#4350) [@PathogenDavid] - DirectX10, DirectX11, DirectX12: Disabled DXGI's Alt+Enter default behavior on
- Backends: DX10, DX11: avoid ImGui_ImplXXXX_SwapBuffers() handlers for secondary secondary viewports managed by the backend. (#4350) [@PathogenDavid]
- DirectX10, DirectX11: avoid ImGui_ImplXXXX_SwapBuffers() handlers for secondary
viewports crashing if SwapChain could not be created. viewports crashing if SwapChain could not be created.
- Backends: Vulkan: Added a way to configure secondary viewport pipelinen creation - Vulkan: Added a way to configure secondary viewport pipeline creation by
by setting init_info.PipelineInfoForViewports fields. (#8946, #8110, #8111, #8686) setting init_info.PipelineInfoForViewports fields. (#8946, #8110, #8111, #8686)
- Backends: Vulkan: Added a way to configure secondary viewport swapchain VkImageUsageFlags - Vulkan: Added a way to configure secondary viewport swapchain VkImageUsageFlags
to e.g. capture rendering. (#8946, #8940) [@olivier-gerard, @ocornut] to e.g. capture rendering. (#8946, #8940) [@olivier-gerard, @ocornut]
Usage example: Usage example: `init_info.PipelineInfoForViewports.SwapChainImageUsage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT;`
`init_info.PipelineInfoForViewports.SwapChainImageUsage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT;` - Vulkan: pipeline created for secondary viewport automatically match
- Backends: Vulkan: pipeline created for secondary viewport automatically match
surface format. (#8686) [@sylmroz] surface format. (#8686) [@sylmroz]
- Backends: Vulkan: Added ImGui_ImplVulkanH_GetWindowDataFromViewport() accessor/helper. - Vulkan: Added ImGui_ImplVulkanH_GetWindowDataFromViewport() accessor/helper. (#8946, #8940) [@olivier-gerard]
(#8946, #8940) [@olivier-gerard]
- Examples: DX10, DX11: Disabled DXGI's Alt+Enter default behavior in examples. - Examples: DX10, DX11: Disabled DXGI's Alt+Enter default behavior in examples.
Applications are free to leave this enabled, but it does not work properly with Applications are free to leave this enabled, but it does not work properly with
multiple viewports. (#4350) [@PathogenDavid] multiple viewports. (#4350) [@PathogenDavid]