Hexa.NET.ImGui Changes
- Updated to Dear ImGui 1.91.6
- Fixed #31
- Added static link support.
New Sponsors
🎉 Huge thanks to our newest supporter:
@TheSameCat2
Forwarded from https://github.com/ocornut/imgui/releases/tag/v1.91.6 (removed @ to avoid spam)
Changes (since v1.91.5)
This is an unusual small release. It is mostly motivated by the fact that the Win32 backend in docking branch of v1.91.5 had a crash when running multiple program instances. Most of the work done this month is part of a larger feature I will talk about later :)
Breaking Changes:
- Backends: DX12: Changed
ImGui_ImplDX12_Init()
signature to take aImGui_ImplDX12_InitInfo
struct.- Using the new API, application is now required to pass function pointers to allocate/free SRV Descriptors.
- We provide convenience legacy fields to pass a single descriptor, matching the old API, but upcoming features will want multiple.
- Legacy ImGui_ImplDX12_Init() signature is still supported (will obsolete).
- Misc: changed CRC32 table from CRC32-adler to CRC32c polynomial in order to be compatible with the result of SSE 4.2 instructions. (#8169, #4933) [Teselka]
- As a result, some .ini data may be partially lost when storing checksums (docking and tables information particularly).
- Because some users have crafted and storing .ini data as a way to workaround limitations of the docking API, we are providing a
#define IMGUI_USE_LEGACY_CRC32_ADLER
compile-time option to keep using old CRC32 tables if you cannot afford invalidating old .ini data.
Other changes:
- InputText: added
ImGuiInputTextFlags_ElideLeft
to elide left side and ensure right side of contents is visible when whole text is not fitting (useful for paths/filenames). (#1442, #1440, #4391, #7208, #8216) [kucoman, ocornut] - InputText: reactivating last activated
InputText()
doesn't restore horizontal scrolling (which was disabled during deactivation anyway). - Error Handling: fixed cases where recoverable error handling would crash when processing errors outside of the
NewFrame()
..EndFrame()
scope. (#1651) - Tables: fixed
SetNextWindowScroll()
value being ignored byBeginTable()
during the first frame or when scrolling flags have changed. (#8196) - Misc: changed embedded ProggyClean encoding to save a bit of binary space (~12kb to 9.5kb).
- Misc: added
IMGUI_DISABLE_DEFAULT_FONT
to strip embedded font from binary. (#8161) [demonese] - Demo: example tree used by Property Editor & Selection demos properly freed on application closure. (#8158) [Legulysse]
- Fonts: fixed
AddCustomRect()
not being packed with TexGlyphPadding + not accounted for surface area used to determine best-guess texture size. (#8107) [YarikTH, ocornut] - Misc: use SSE 4.2 crc32 instructions when available. (#8169, #4933) [Teselka]
- Tools: binary_to_compressed_c: added
-u8
/-u32
/-base85
export options. - Backends: DirectX12: Let user specifies the
DepthStencilView
format by settingImGui_ImplDX12_InitInfo::DSVFormat
. (#8217) [bmarques1995] - Backends: Vulkan: Make user-provided descriptor pool optional. As a convenience, when setting
init_info->DescriptorPoolSize
then the backend will create and manage one itself. (#8172, #4867) [zeux] - Examples: Win32+DX12: Using a basic free-list allocator to manage multiple SRV descriptors.
Changes from 1.91.5 to 1.91.6 in the Docking branch:
- Backends: Win32: Fixed a crash/regression in 1.91.5 when running two processes with multi-viewports (was using GetProp() to query property which could have belonged to another process). (#8162, #8069) [sammyfreg, ocornut]
- Docking: Added an assert to clarify that
ImGuiDockNodeFlags_CentralNode
flag (from internals) does not need to be passed to DockSpace(), as it causes general havoc. (#8145)