SlowRiot
8fa2322760
use imgui string hashing for key name to imgui key lookup
2026-04-02 22:24:52 +01:00
SlowRiot
34f61cf7e3
add new backend to compatible list in wgpu comments
2026-04-02 21:43:06 +01:00
SlowRiot
117e14d5a5
user-adjustable target device pixel ratio
2026-03-31 22:46:35 +01:00
SlowRiot
88fe8d401f
correct scaling independent of device pixel ratio
2026-03-31 21:31:11 +01:00
SlowRiot
438a3326fd
query display size from EM_ASM rather than requiring emscripten::val
2026-03-31 21:00:07 +01:00
SlowRiot
b144ac3b53
use static assert instead of IM_STATIC_ASSERT
2026-03-31 20:50:38 +01:00
SlowRiot
9c4f1e55f1
tidy up MediaStop commented default
2026-03-31 20:37:26 +01:00
SlowRiot
921fb3901d
add changelog entries
2026-03-31 20:09:55 +01:00
SlowRiot
7a4179856d
don't use std::numeric_limits
2026-03-31 20:09:07 +01:00
SlowRiot
6a2efe6a6f
remove std::string, use C style strings
2026-03-31 20:01:55 +01:00
SlowRiot
94900e607a
replace key lookup map with handcrafted optimised decision tree
2026-03-31 19:55:55 +01:00
SlowRiot
c4b6c689ac
move cursor setting helper function implementations to the bottom of the file
2026-03-31 19:43:50 +01:00
SlowRiot
a8de6dadc7
reorder browser cursor implementation to the bottom of the file
2026-03-31 19:43:01 +01:00
SlowRiot
00400b697f
use attribute pure
2026-03-31 17:09:11 +01:00
SlowRiot
c96f9679b4
unset blur and focus callbacks
2026-03-31 17:01:02 +01:00
SlowRiot
57c52e75b2
restore cursor reliably even if previously unset
2026-03-31 16:55:05 +01:00
SlowRiot
0454ffec27
header comment fixes
2026-03-31 16:47:03 +01:00
slowriot
bf1893272a
add imgui include and use IMGUI_IMPL_API and honour IMGUI_DISABLE
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-31 16:45:11 +01:00
SlowRiot
8e35b501a4
fix comments on focus gain / loss
2026-03-31 16:33:50 +01:00
slowriot
41233b09b0
remove duplicate F6
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-31 16:30:26 +01:00
slowriot
72fae61cba
comment adjustment re. gamepads & touch
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-31 16:29:41 +01:00
slowriot
416d85c9e7
catch out of range buttons
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-31 16:28:20 +01:00
slowriot
426bff6aed
update comments re. gamepads
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-31 16:25:57 +01:00
slowriot
58236a21f8
comment typo
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-31 16:25:03 +01:00
SlowRiot
6d6d7d5f0f
store persistent state in backend data as per imgui norms
2026-03-31 16:08:48 +01:00
SlowRiot
ff4341d3d6
pointer and reference alignment consistent with imgui norms
2026-03-31 15:47:18 +01:00
SlowRiot
6ade9da529
remove use of auto and style consistency adjustments
2026-03-31 15:46:53 +01:00
SlowRiot
c20a89c055
comment on browser cursor helpers, and correct closing namespace comment
2026-03-31 15:44:00 +01:00
SlowRiot
0680e7d7a9
adjust brace and bracket style to match imgui standard
2026-03-31 15:22:17 +01:00
SlowRiot
2787e65712
remove copyright clashing with CLA
2026-03-31 15:12:36 +01:00
SlowRiot
739e9bbee1
adjust indentation to match imgui standard
2026-03-31 15:04:02 +01:00
SlowRiot
2ce0a48c50
add changelog
2026-03-31 14:55:56 +01:00
SlowRiot
5ab277a62d
adjust comment style to match imgui standard
2026-03-31 14:55:51 +01:00
SlowRiot
9e81994fef
Merge branch 'master' into imgui_impl_emscripten
2026-03-31 14:38:18 +01:00
ocornut
59183cf782
Backends, Examples: WebGPU: added support for WGVK. Remaining amends. ( #9316 , #9246 , #9257 )
2026-03-25 15:31:39 +01:00
r-lyeh
59780020f6
Backends, Examples: WebGPU: added support for WGVK. ( #9316 , #9246 , #9257 )
...
Squashed: minified SPIRV binaries by stripping strings + emitting in binary_to_compressed_c.
2026-03-25 15:31:35 +01:00
ocornut
51f590a2a8
Backends: GLFW: mouse cursor is properly restored if changed by user app/code while using glfwSetInputMode(..., GLFW_CURSOR_DISABLED) or ImGuiConfigFlags_NoMouseCursorChange. ( #9322 )
...
Amend 9a4fd69f6
2026-03-25 14:17:29 +01:00
ocornut
79411a0405
Backends, Examples: WebGPU: fixed warnings + scale initial surface height for native.
2026-03-23 16:21:50 +01:00
ocornut
386ce49c58
Backends: DirectX9: fixed build typo in 0500e54.
2026-03-19 18:17:35 +01:00
ocornut
358d3912c9
Backends: SDLRenderer2/3: fixed build, typo in 0500e54.
2026-03-19 12:34:11 +01:00
ocornut
0500e546b5
Backends: DX9, Metal, SDLRenderer2/3: fixed more assumptions that ImTextureID_Invald == 0 + Amend Changelogs. ( #9310 , #9293 )
2026-03-19 11:47:01 +01:00
Starman
7fc3092870
Backends: SDLGPU3: Prevent DestroyTexture from deleting invalid textures if ImTextureID_Invalid != 0. ( #9310 , #9293 )
...
Amend 0db5919
2026-03-19 11:31:48 +01:00
ocornut
6dbda97fee
Backends: OpenGL2, OpenGL3, SDLRenderer3: replaced erroneous IM_ASSERT(tex->TexID == 0) calls. ( #9295 , #9293 )
...
Amend/fix 0db5919 which revealed this.
2026-03-12 19:29:39 +01:00
Michael Böhme
7546f1eb16
Backends: Vulkan: ImGui_ImplVulkan_AddTexture() skips updating descriptor_set if failing to allocate. ( #8677 )
...
Reduce error surface to the check_vk_result() call.
2026-03-11 21:22:50 +01:00
MaciejDziuban
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
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
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
Seppo Räisänen
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
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