Commit Graph

  • 96786a183b Fonts: Create a fallback glyph if none is available (fix crash on fonts with no fallback) ocornut 2025-02-05 14:04:05 +0100
  • 066b24d741 Fonts: Fixed _OnChangedTextureID() asserting when calling on e.g. finalized drawlists. ocornut 2025-02-04 20:02:10 +0100
  • 82b81fce68 Fonts: PushFontSize() with -1 uses sources[0]'s size for now (backward compat design) ocornut 2025-02-03 19:36:11 +0100
  • 6580590226 Fonts: Allow PushFont/NewFrame/PopFont idioms to function. ocornut 2025-02-03 19:15:26 +0100
  • 842c313db2 Fonts: Reordered ImFont fields. ocornut 2025-02-07 19:47:41 +0100
  • 99f6b305c1 Fonts: Baked system, v12: support GlyphOffset / GlyphMinAdvanceX / GlyphMaxAdvanceX by scaling from ref value. ocornut 2025-02-03 17:46:59 +0100
  • df694c89b0 Fonts: Baked system, v11. ocornut 2025-02-03 17:16:34 +0100
  • 57d345ff80 Textures: Comments around ImTextureID type. ocornut 2025-01-30 17:49:52 +0100
  • 3ce753c489 Fonts: Debug dump to disk, debug log. ocornut 2025-01-28 14:36:06 +0100
  • be151977ca Fonts: Texture resizing favor growing height, halve pack nodes. ocornut 2025-01-28 14:31:13 +0100
  • daaf0e4ef3 Fonts: Added PushFontSize(), PopFontSize() api. Added font_size param to PushFont() as well. ocornut 2025-01-27 20:24:05 +0100
  • 80404fae30 Fonts: clarify ClearTexData() as not supported with dynamic atlases. ocornut 2025-01-30 16:32:25 +0100
  • 093d01269a Fonts: Baked system, with auto-bind, v10. ocornut 2025-01-23 15:46:22 +0100
  • 7aba8da551 (Breaking) Fonts: CalcWordWrapPositionA() -> CalcWordWrapPosition(), takes size instead of scale as this will be needed. ocornut 2025-01-24 18:10:42 +0100
  • a2371ef90b Internals: added ImStableVector<> helper. ocornut 2025-01-22 20:01:26 +0100
  • fb69a09d6e Fonts: Fixed leak due to indirectly recursing ImFontAtlasPackInit(). ocornut 2025-01-23 12:12:07 +0100
  • c5653d5f34 Fonts: stb_truetype loader: Reworked scale handling to suggest this is not required caching. ocornut 2025-01-20 20:01:21 +0100
  • b203ac1e0d Fonts: Reduced reliance on ImFontConfig::DstFont. ocornut 2025-01-18 15:01:05 +0100
  • 722f6013ff Fonts: Added a bit of user facing tooling. ocornut 2025-01-16 15:41:46 +0100
  • bd19bc5085 Fonts: Removed BuildClearGlyphs(), conflated with ClearOutputData() ocornut 2025-01-16 14:57:33 +0100
  • 2bf6552f2f Fonts: Fixed/improved support for legacy backend. SetTexID() writes into our ImTextureData to keep the indirection, clear TexIsBuilt. ocornut 2025-01-16 11:35:55 +0100
  • ba62becb7d (Breaking) Fonts: remove ImFontAtlasCustomRect which is now the same as ImTextureRect ocornut 2025-01-15 11:53:24 +0100
  • a509790a1c Fonts: Added back support for AddCustomRectFontGlyph() ocornut 2025-01-13 20:33:36 +0100
  • 953ce90d27 Fonts: ImFontAtlasBuildInit() uses the occasion to sync HasTexUpdates from imgui context, narrowing the scope where it isn't set. ocornut 2025-01-13 20:25:16 +0100
  • 288055180e Fonts: Comments, remove ImFontAtlas facing BuildGrowTexture(), BuildCompactTexture(). Make IsBuilt() obsolete. ocornut 2025-01-13 20:03:09 +0100
  • 8ed4e2dde7 Fonts: Basic heuristic to repack instead of growing. Moved rects count/surface to internals. ocornut 2025-01-13 17:56:36 +0100
  • 2137b3448b Textures: Added atlas's TexMinWidth/TexMinHeight/TexMaxWidth/TexMaxHeight. ocornut 2025-01-09 23:04:00 +0100
  • 14614f561b Textures: Ensure UpdateBox is set on texture _WantCreate state too. ocornut 2025-01-09 20:57:20 +0100
  • b06f3c6d1d Fonts: turn public facing BuildRegisterGlyph() into ImFontAtlasBuildAddFontGlyph() thats sets up UV. ocornut 2025-01-09 20:48:50 +0100
  • 4ff1631b31 Fonts: Rasterizing ellipsis character from dot as one glyph + avoid preloading if it not needed. ocornut 2025-01-08 19:07:40 +0100
  • a2bc3d81c2 Fonts: Fixed support for multiple contexts. ocornut 2024-12-27 11:23:22 +0100
  • cec3e945f0 Fonts: added ImFontAtlas::RemoveFont(), fixed various leaks. ocornut 2024-12-19 16:21:07 +0100
  • df8450d928 Fonts: marked ImFontAtlas::Build() as obsolete ocornut 2024-12-20 22:33:11 +0100
  • 4399599de9 Fonts: ClearCache(), ImFontAtlasBuildGetTextureSizeEstimate(), tweak clearing functions. ocornut 2024-12-19 15:21:22 +0100
  • ef1521b472 Fonts: fix for password fields ocornut 2024-12-19 14:40:45 +0100
  • a51a26e2aa Fonts: use a structure for post-processing - easier to pass things around and iterate on. ocornut 2024-12-11 19:21:10 +0100
  • 553b1c301d Fonts: repack without full reload, discard rectangle, fixed CustomRect api with stable id, remove public BuildInit(). ocornut 2024-12-05 18:52:30 +0100
  • a6c7801926 Fonts: Measured and tweaked CalcTextSize() computation to minimize cost in our stress tests. ocornut 2024-12-04 19:26:45 +0100
  • 076a1ab85c Fonts: Misc amends, remove _PackNodesFactor, comments. ocornut 2024-12-04 16:43:46 +0100
  • ac13683c26 Fonts: ImFontAtlas accept DrawListSharedData not being set. ocornut 2024-12-02 21:07:26 +0100
  • 43cc3fc8b1 Fonts: optimization bake FallbackAdvanceX into IndexAdvanceX[]. ocornut 2024-11-29 17:34:52 +0100
  • 4f27792ffe (Breaking) Removed atlas->TexDesiredWidth now unnecessary (github 327) ocornut 2024-11-29 17:22:33 +0100
  • b670f799d5 Fonts: use TexGlyphPadding. Fixed packing issues. Removed old code. ocornut 2024-11-29 15:16:22 +0100
  • 0f553c57bd Fonts: AddFont() actually does the work, so we can handle errors & return an accurate return value. ocornut 2024-11-29 14:28:16 +0100
  • 1269467fa0 imgui_freetype: Removing old code. ocornut 2024-11-28 15:27:17 +0100
  • 08e1e7681e imgui_freetype: Added Freetype implementation for new architecture. ocornut 2024-11-28 15:26:52 +0100
  • 26c017d5ea Backends: Metal: added ImGuiBackendFlags_RendererHasTextures support. thedmd 2024-12-17 00:42:57 +0100
  • ee8941e0de Backends: Allegro5: added ImGuiBackendFlags_RendererHasTextures support. ocornut 2025-01-15 10:38:11 +0100
  • 16fe666e36 Backends: SDLGPU3: added ImGuiBackendFlags_RendererHasTextures support. ocornut 2025-01-16 12:32:56 +0100
  • e538883a20 Backends: SDL_Renderer3: added ImGuiBackendFlags_RendererHasTextures support. ocornut 2024-12-05 15:57:32 +0100
  • 9fa65cd190 Backends: SDL_Renderer2: added ImGuiBackendFlags_RendererHasTextures support. ocornut 2024-12-05 15:52:52 +0100
  • abe294bfd0 Backends: Vulkan: added ImGuiBackendFlags_RendererHasTextures support. ocornut 2024-11-27 18:47:28 +0100
  • 0430c55b84 Backends: OpenGL2: added ImGuiBackendFlags_RendererHasTextures support. ocornut 2024-12-18 14:05:55 +0100
  • dbb91a574f Backends: OpenGL3: added ImGuiBackendFlags_RendererHasTextures support. ocornut 2024-11-27 18:47:14 +0100
  • eefe5d5aac Backends: DirectX12: added ImGuiBackendFlags_RendererHasTextures support. ocornut 2024-11-27 18:46:09 +0100
  • 2d2b1bc1cc Backends: DirectX10: added ImGuiBackendFlags_RendererHasTextures support. ocornut 2024-12-05 13:05:27 +0100
  • 75efba7ec7 Backends: DirectX9: added ImGuiBackendFlags_RendererHasTextures support ocornut 2024-11-27 18:47:21 +0100
  • 372fd27e71 Backends: DirectX11: added ImGuiBackendFlags_RendererHasTextures support. ocornut 2024-11-27 18:46:02 +0100
  • c20e160e0f Textures: added texture list pointer in ImDrawData. ocornut 2025-05-09 21:41:01 +0200
  • 208705368e Textures: Adding a RefCount to textures so backend can avoid destroying them on shutdown if atlas is shared. ocornut 2025-03-07 16:14:11 +0100
  • a21a2e855b Textures: Single Textures[] array allows backend to not have to care about atlases. ocornut 2025-01-31 19:12:58 +0100
  • ee357aaddf Textures: Add ImTextureUserID_Invalid + introducing SetTexID(). ocornut 2025-01-30 15:35:32 +0100
  • 2cde9125d6 Fonts: Selecting font config source list done by shared code. ocornut 2025-01-17 18:06:25 +0100
  • 0f0473bf1c Fonts, Textures: main code for ImGuiBackendFlags_RendererHasTextures feature. ocornut 2024-11-29 13:42:35 +0100
  • 191a728ecc (Breaking) added ImTextureRef struct. Changed ImDrawCmd::TextureId to TexRef. ocornut 2025-03-17 19:13:17 +0100
  • e55415bfef (Breaking) renamed/moved ImGuiConfigFlags_DpiEnableScaleFonts -> ioConfigDpiScaleFonts, ImGuiConfigFlags_DpiEnableScaleViewports -> io.ConfigDpiScaleViewports ocornut 2025-06-04 20:42:08 +0200
  • b2f39318cb Adding .cache to ignore list. (#8674) ocornut 2025-06-11 13:41:06 +0200
  • 18d87c2651 Cleanup messages and formatting Benjamin Conlan 2025-06-11 18:59:34 +1000
  • d9e7b36c67 Update CHANGELOG to reflect PR change Benjamin Conlan 2025-06-11 18:42:11 +1000
  • 6528f4268b Move the native example_glfw_wgpu build to the linux job list Benjamin Conlan 2025-06-11 18:31:03 +1000
  • 275d87de34 Updated wgpu backend and example code to reflect removal of swapchain in webgpu api Benjamin Conlan 2025-06-11 17:44:08 +1000
  • f43eddcccc 在 .gitignore 中添加 Makefile 以忽略构建文件 FJdarc 2025-06-10 20:12:42 +0800
  • fff831e150 新增 ImGui 项目的 Premake5 配置文件 FJdarc 2025-06-10 19:44:41 +0800
  • e143e2ed2a Revert "decreased MinImageCount from 2 to 1 (Vulkan backend)" Michael Böhme 2025-06-07 14:16:59 +0200
  • 247505c7b6 Revert "use UTF-8 minus sign" Michael Böhme 2025-06-07 14:16:56 +0200
  • 4cbebc3a7b decreased MinImageCount from 2 to 1 (Vulkan backend) Michael Böhme 2025-06-07 14:11:54 +0200
  • f84b0f9be2 use UTF-8 minus sign Michael Böhme 2025-06-07 13:59:59 +0200
  • 354e33ec90 keep track of the last bound descriptor (Vulkan backend) Michael Böhme 2025-06-06 16:27:57 +0200
  • 201899b611 Backends: OpenGL3: Fixed using non-existing features on GLES 3.20 which would push a GL error. (#8664) Dylam De La Torre 2025-06-04 23:08:19 +0200
  • a1cbe38ece OpenGL: Fix using non-existing features on GLES 3.20 Dylam De La Torre 2025-06-04 23:08:19 +0200
  • eaac68ca2c Merge branch 'master' into docking ocornut 2025-06-04 22:30:43 +0200
  • c3d7ada9df Demo: add indentation to simplify upcoming merges. ocornut 2025-06-04 22:27:34 +0200
  • 91f72bbe1c Demo: omit ImGui:: prefix from ShowStyleEditor(), ShowUserGuide() code. ocornut 2025-06-04 21:29:12 +0200
  • 9485aeb5c8 Demo: changed default framed item width to use Min(GetFontSize() * 12, GetContentRegionAvail().x * 0.40f). ocornut 2025-06-04 17:30:17 +0200
  • e877f78b0e TreeNode: minor amend to b7ab2b7. (#2920) ocornut 2025-06-02 20:57:21 +0200
  • ef503ab0c8 TreeNode: fixed out of bound access in ImGuiTreeNodeFlags_DrawLinesXXX feature. (#2920) ocornut 2025-06-02 20:50:12 +0200
  • b7ab2b7523 TreeNode: fixed an issue where tree lines are not drawn on node opening frame. (#2920) ocornut 2025-06-02 20:41:01 +0200
  • a92b53df7b Backends: Win32: Viewports: handle WM_DPICHANGED in backend when ImGuiConfigFlags_DpiEnableScaleViewports flag is enabled. ocornut 2025-06-02 19:08:45 +0200
  • ac6b84a7d7 Viewports: fixed handling of simultaneous move + resize (e.g. toggling maximized) when ImGuiConfigFlags_DpiEnableScaleViewports is enabled. ocornut 2025-06-02 17:11:09 +0200
  • 5e17c08010 Merge branch 'master' into docking ocornut 2025-05-30 22:00:26 +0200
  • 69e1fb50ca Docs: fixed missing commit credit. (#8656) ocornut 2025-05-30 21:59:13 +0200
  • e6913f58b9 imgui_freetype: Update lunasvg API to support v3.0+ (#8656, #6842, #6591) Romain Moret 2025-05-26 19:02:18 +0200
  • c3a3a39e92 Nav: fixed abnormal clipping disable over large ranges, could lead to stall. (#3841, #1725) ocornut 2025-05-30 21:46:33 +0200
  • 19289d587a Nav: fixed scroll fallback (when there are no interactive widgets to jump to) not being enabled on windows with menu or title bar. ocornut 2025-05-30 21:33:09 +0200
  • c53c9a8644 Clipper: further mitigation/improvements for abnormally large contents ranges (larger than e.g. 2^31). (#3609, #8215) ocornut 2025-05-30 21:11:23 +0200
  • 87a6443c5b Scroll: fixed contents size, scrollbar visibility and scrolling reet issue with abnormally large contents ranges. (#3609, #8215) ocornut 2025-05-30 20:47:50 +0200
  • 2bf57bbad4 Refactor: move SetCurrentFont(), PushFont(), PopFont() to a section. ocornut 2025-05-26 19:32:28 +0200
  • b663155662 Add compat for lunasvg < v3.0 Romain Moret 2025-05-26 21:25:02 +0200
  • 77f1d3b317 Refactor: move SetCurrentFont(), PushFont(), PopFont() to a section. ocornut 2025-05-26 19:32:28 +0200
  • 0df7fb38ec Update lunasvg API to support v3.0+ Romain Moret 2025-05-26 19:02:18 +0200