moonpower
5ae4be2b5f
Refactor SDL surface backend for improved quad rendering and performance
...
- Introduced a new structure ImGui_ImplSDLSurface3_Quad to represent quads.
- Added functions to detect quads and check for constant colors and linear UVs.
- Enhanced rendering functions to utilize quad detection for faster rendering paths.
- Updated the rendering logic in ImGui_ImplSDLSurface3_RenderDrawData to leverage the new quad rendering capabilities.
- Optimized Makefiles and build scripts to include optimization flags for better performance.
2026-03-13 14:19:04 +01:00
moonpower
2f2b8a1226
Add SDL3 surface backend for ImGui example
...
- Created imgui_impl_sdlsurface3.h and corresponding implementation file.
- Added Makefile for building the SDL3 surface example on Linux and macOS.
- Included README.md with build instructions for Windows, Linux, and macOS.
- Added build script for Windows (build_win32.bat) and Visual Studio project files.
- Implemented main application logic in main.cpp to demonstrate ImGui with SDL3 and surface rendering.
2026-03-13 13:23:18 +01:00
moonpower
00843f9ece
windows and readme
2026-03-11 20:17:53 +01:00
MoonPower and GitHub
655981382c
Merge branch 'ocornut:master' into sdl2_cpu
2026-03-11 20:08:43 +01:00
MaciejDziuban and ocornut
decb5cdf10
Backends: Vulkan: added ImGui_ImplVulkan_PipelineInfo::ExtraDynamicStates. ( #9211 )
...
This new setting allows an application to force the pipeline created by vulkan backend to specify more dynamic states than just default viewport and scissor.
It is useful e.g. when using draw list callbacks, e.g. adding VK_DYNAMIC_STATE_COLOR_BLEND_EQUATION_EXT to be able to use vkCmdSetColorBlendEquationEXT inside callbacks.
2026-03-11 17:00:47 +01:00
ocornut
5dd56d4bb5
Demo: add an option to enable ImGuiSliderFlags_ColorMarkers in Multi-Components section + fixed warnings.
2026-03-09 18:01:37 +01:00
Yan Pujante and ocornut
512982d0d2
Examples: Emscripten: fixes minor rendering issues ( #9281 )
...
- in Firefox, scrollbar would appear => adding overflow: hidden fixes this issue
- when the canvas has the focus, Chrome draws a very small blue outline, setting it to none fixes this issue
2026-03-09 16:54:21 +01:00
ocornut
9e6b888626
Examples: reorder builds items to favor main.cpp and backend failing earlier.
2026-03-09 16:19:22 +01:00
ocornut
83fa0ae263
Backends, Examples: removed Emscripten < 4.0.10 support. Removed IMGUI_IMPL_WEBGPU_BACKEND_WGPU. Amends. ( #9281 , #8381 )
2026-03-09 16:18:59 +01:00
Yan Pujante and ocornut
e92820db2a
Backends, Examples: removed Emscripten < 4.0.10 support. Removed IMGUI_IMPL_WEBGPU_BACKEND_WGPU. ( #9281 , #8381 )
...
- This commit removes the option of using -sUSE_WEBGPU=1 from CMake and make
- Compiling with a version of Emscripten >= 4.0.10 will work the same way as it was before
- Compiling with a version of Emscripten < 4.0.10 will print an error message and abort the build (in the case of CMake)
- Since there can only be 1 implementation for the backend in the case of Emscripten, this commit cleans the code accordingly
2026-03-09 15:45:34 +01:00
Brenton Bostick and GitHub
6f8bdb7bf7
Docs: fixed misc typos ( #9267 )
2026-03-09 14:51:06 +01:00
ocornut
ca166c0e5f
Docs: imgui_manual -> imgui_explorer.
...
Amend 650eca3 .
2026-03-09 14:24:03 +01:00
ocornut
41765fbda7
Scrollbar: extend hit-testing bounding box when window is sitting at the edge of a viewport. ( #9276 )
2026-03-06 18:03:27 +01:00
Simon and GitHub
ba84d2d372
Fixed -Wconversion warnings in GCC. ( #9265 )
2026-02-27 13:48:30 +01:00
ocornut
11acd9f5cb
Sliders: extracted code into TempInputIsClampEnabled() helper for reuse.
...
Toward #9164 , #76
2026-02-27 00:04:51 +01:00
ocornut
238651ffa3
Sliders: shallow rework of TempInputScalar().
...
Toward #9164 , #76
2026-02-27 00:00:42 +01:00
ocornut
14e0c70f88
Sliders: removed unnecessary is_logarithmic parameters as they can be inferred. ( #3786 , #1823 , #1316 , #642 )
2026-02-26 21:25:14 +01:00
ocornut
ef022c5e0a
Separator: added and following style.SeparatorSize. ( #2657 , #9263 )
...
Reapply c5d83d8a from 1.70 which was reverted in 9534ef9b2 .
2026-02-26 17:21:57 +01:00
ocornut
c40226e9de
CloseButton, InputText: scale thickness to integer amount when using style.ScaleAllSizes(). ( #7031 )
2026-02-25 22:16:20 +01:00
ocornut
650eca386e
Doc: update link to imgui_manual, add a new one near top of the demo + update binaries.
2026-02-25 20:34:35 +01:00
Pascal Thomet and ocornut
848da73a81
Demo: fixed/tweaked missing IMGUI_DEMO_MARKER for examples applets. ( #9261 , #3689 )
2026-02-25 19:48:03 +01:00
ocornut
8a15a1064d
Add DemoMarker() function to formalize access for other demos than imgui_demo.cpp ( #9261 , #3689 )
2026-02-25 19:25:57 +01:00
Seppo Räisänen and ocornut
dd5c604768
Backends: SDLGPU3: remove unnecessary call to SDL_WaitForGPUIdle when releasing vertex/index buffers. ( #9262 )
2026-02-25 18:08:27 +01:00
ocornut
2b415e642b
Backends: WebGPU: fixed Emscripten version check. ( #8381 )
...
Amend ff673d3 .
2026-02-24 17:49:08 +01:00
ocornut
68a91d3060
InputText: Shift+Enter in multi-line editor always adds a new line. ( #9239 )
2026-02-24 17:10:56 +01:00
ocornut
0666da6a72
TreeNode: fixed duplicate TreeNodeGetOpen() declaration. ( #3823 , #9251 , #7553 , #6754 , #5423 , #2958 , #2079 , #1947 , #1131 , #722 )
...
Amend f6e0953b3
2026-02-24 13:34:20 +01:00
ocornut
7dec6b6de8
Demo: TreeNode: add sectiont to increase visibility of tree clipping demo.
2026-02-23 22:53:35 +01:00
ocornut
33dfa7f834
TreeNode, Demo: Property Editor: demonstrate a way to perform tree clipping by fast-forwarding through non-visible chunks. ( #3823 , #9251 , #6990 , #6042 )
2026-02-23 22:38:06 +01:00
ocornut
46f0e2e247
Demo: Property Editor: misc tweaks to reduce noise in upcoming change. Allow node to have more than 65K child.
2026-02-23 22:36:29 +01:00
ocornut
f6e0953b38
TreeNode: moved TreeNodeGetOpen() helper to public API. ( #3823 , #9251 , #7553 , #6754 , #5423 , #2958 , #2079 , #1947 , #1131 , #722 )
...
Amend 0653a0d
2026-02-23 22:36:29 +01:00
ocornut
14b4d8a625
Clipper: added UserIndex helper storage.
2026-02-23 22:36:29 +01:00
ocornut
dbee23e09c
Commented out legacy signatures for Combo()/ListBox() which were obsoleted in 1.90.
...
Amend b101cf4 .
2026-02-23 15:21:20 +01:00
Pascal Thomet and ocornut
2000008b47
Examples: Emscripten: add tabindex=-1 to canvas in shell_minimal.html. ( #9259 )
...
Without tabindex, the canvas element is not focusable in the DOM, so pongasoft/emscripten-glfw's focus/blur listeners on the canvas
never fire. This means glfwSetWindowFocusCallback is never called etc.
Ref: https://github.com/pongasoft/emscripten-glfw/issues/29
2026-02-23 13:35:18 +01:00
Pascal Thomet and ocornut
37b7a7a9df
Demo: move imgui manual IMGUI_DEMO_MARKER inside tree nodes. ( #3689 )
...
So that the manual switches less often when the user does not want it.
Most switches now happen only after opening a tree node.
2026-02-20 18:05:02 +01:00
r-lyeh and ocornut
b5ccee78b6
Examples: WGPU: fixed undefined behaviors in example init code. ( #9246 , #9256 ) [@r-lyeh]
2026-02-20 16:23:08 +01:00
ocornut
221bac8b06
Style: border sizes are now scaled and rounded by ScaleAllSizes(). Lift 1.0f limit in Style Editor.
2026-02-20 16:16:27 +01:00
omar and GitHub
05481194b6
Update README
...
Added a section on useful extensions and widgets with links.
2026-02-20 15:25:35 +01:00
omar and GitHub
e8281fdf1a
Update README
2026-02-20 15:09:20 +01:00
omar and GitHub
f7fbe5bd91
Update README.md
2026-02-20 14:56:18 +01:00
ocornut
c234426f89
TreeNode: comments on ImGuiTreeNodeFlags_Leaf. ( #4833 )
2026-02-19 16:32:14 +01:00
Adem Budak and ocornut
3fecb234c8
Examples: SDL3+WGPU: fixed build warning. ( #9255 )
2026-02-19 11:38:41 +01:00
ocornut
0653a0d42a
Demo: use ImGui version of TreeNodeGetOpen/TreeNodeSetOpen + comments.
2026-02-18 16:53:23 +01:00
ocornut
635a5c0a12
Clipper: clear DisplayStart/DisplayEnd fields when Step() returns false.
2026-02-18 16:08:49 +01:00
ocornut
b8a1f74fd9
Version 1.92.7 WIP
...
+ minor demo tweaks.
2026-02-18 16:05:51 +01:00
ocornut
6ded5230d0
Changelog formatting amends
2026-02-17 18:32:57 +01:00
ocornut
e118ea06e0
Version 1.92.6
2026-02-17 17:45:07 +01:00
ocornut
f921abe7e7
InputTextMultiline(): fixed a minor bug where Shift+Wheel would allow a small horizontal scroll offset. ( #9249 )
2026-02-17 17:44:42 +01:00
ocornut
7609963448
Demo: fixes for Emscripten 5.0+
2026-02-17 17:25:12 +01:00
ocornut
ff673d31df
Backends: WebGPU: minor build fix for Emscripten 5.0.0 (note: our examples currently don't build with 5.0.1).
...
Getting 'warning: unused function 'CreateWGPUSurface' [-Wunused-function]' in some build paths.
cc #9246
2026-02-16 18:04:20 +01:00
ocornut
acdaaef625
Backends: further zealous warning fixes. ( #9247 )
2026-02-16 16:45:08 +01:00