Commit graph

522 commits

Author SHA1 Message Date
ocornut
b6786595a4 Backends: SDLGPU3: Made ImGui_ImplSDLGPU3_PrepareDrawData() reuse GPU Transfer Buffers which were unusually slow to recreate every frame. () 2025-03-31 14:45:29 +02:00
Green Sky
5c9fb8f064 Backends: SDL3: Update for API changes: Revert SDL_GetClipboardText() memory ownership change. (, )
see https://github.com/libsdl-org/SDL/pull/10390
2025-03-30 13:52:39 +02:00
puugz
a806d2f9b8 Backends: SDLGPU: Fixed typo in function name Imgui_ImplSDLGPU3_PrepareDrawData() -> ImGui_ImplSDLGPU3_PrepareDrawData(). (, 8163, , ) 2025-03-21 20:16:56 +01:00
tanksdude
f5003aff69
Docs: Fix some typos () 2025-03-21 16:23:09 +01:00
ocornut
979c7d76ab Backends: SDL2, SDL3, OSX: Fill gamepad inputs and set ImGuiBackendFlags_HasGamepad regardless of ImGuiConfigFlags_NavEnableGamepad being set. () 2025-03-21 15:42:47 +01:00
ocornut
79bba34c5f Revert "Added ImGuiKey_AbntC1, ImGuiKey_AbntC2 + Backends: GLFW, Win32: added support. ()"
This reverts commit 557c77e455.
2025-03-13 16:32:50 +01:00
ocornut
de4f77b0ac Backends: DX12: comment about using SrvDescriptorAllocFn/SrvDescriptorFreeFn.
Amend 40b2286d16
2025-03-12 15:47:37 +01:00
ocornut
557c77e455 Added ImGuiKey_AbntC1, ImGuiKey_AbntC2 + Backends: GLFW, Win32: added support. () 2025-03-11 18:38:45 +01:00
ocornut
51e4cba909 Backends: Fixed zealous warnings. 2025-03-11 12:05:23 +01:00
ocornut
a9e53829d2 Backends: Win32, SDL2, SDL3, GLFW: prioritize scancodes instead of translated keycodes when dealing with OEM keys + Added ImGuiKey_Oem102. (, , , , , , ) 2025-03-10 18:01:29 +01:00
fdsa
3c3d943fb1 Docs: Fix some typos () 2025-03-09 16:42:16 +01:00
ocornut
ce13f6b73e Backends: GLFW: Fixed clipboard handler assertion when using GLFW <= 3.2.1 compiled with asserts enabled. ()
Amend 8e4010479
2025-03-03 13:11:16 +01:00
ocornut
1aab00da85 Misc shallow tweaks/tidying up. () 2025-02-27 21:58:02 +01:00
Alan
cdafefd4be
Backends: WebGPU: Add nextInChain field for VertexAttributes under Dawn () 2025-02-27 13:47:33 +01:00
Alan
8bd3e20c86
Backends: WebGPU: include imgui.h before backend check () 2025-02-27 00:06:31 +01:00
ocornut
aa83d5d455 Backends: SDL2, SDL3: Only start SDL_CaptureMouse() when mouse is being dragged. (, )
To mitigate issues with e.g. Linux debuggers not claiming capture back.
2025-02-26 15:34:31 +01:00
Jose L. Hidalgo (PpluX)
aaacb01b8d Backends: WebGPU: Recreate image bind groups during render. (, , , ) 2025-02-26 15:20:08 +01:00
ocornut
9996a2d51b Backends: WebGPU: update code for latest webgpu-native changes. Fix for Emscripten. () 2025-02-26 15:16:38 +01:00
ocornut
6aa0810de5 Backends: WebGPU: update code for latest webgpu-native changes. Amend. () 2025-02-26 15:10:28 +01:00
Jose L. Hidalgo (PpluX)
4f4fb1d220 Backends: WebGPU: update code for latest webgpu-native changes. () 2025-02-26 14:56:49 +01:00
TheMode
dac40d0487 Backends: SDL2, SDL3: don't call SDL_GetGlobalMouseState() when mouse position is in relative mode. (, ) 2025-02-24 12:26:48 +01:00
ocornut
5dce79e941 Backends: DirectX12: Fixed an issue where pre-1.91.5 legacy ImGui_ImplDX12_Init() signature started breaking in 1.91.8 due to missing command queue. () 2025-02-24 10:52:15 +01:00
ocornut
eec097fe35 Added ImGuiMouseCursor_Progress mouse cursor 8a35386+ support in SDL2,SDL3,Win32,Allegro5 backends.
Amend 8a35386
2025-02-18 18:52:08 +01:00
ocornut
8a35386ba7 Added ImGuiMouseCursor_Wait mouse cursor (busy/wait/hourglass shape) + support in SDL2,SDL3,Win32,Allegro5 backends. 2025-02-18 18:40:47 +01:00
ocornut
8f0411ff03 Backends: OpenGL3: Lazily reinitialize embedded GL loader for when calling backend from e.g. other DLL boundaries. () 2025-02-18 18:19:10 +01:00
ocornut
ec4cd2cb8c Backends: Vulkan: Fixed crash with using no prototypes + *BREAKING* Added ApiVersion to ImGui_ImplVulkan_LoadFunctions(). (, , ) 2025-02-14 12:19:39 +01:00
ocornut
e1ae7db4cc Backends: Vulkan: Fixed building with older headers not supporting VK_HEADER_VERSION_COMPLETE. (, ) 2025-02-13 16:03:40 +01:00
ocornut
12963f5231 Examples: Vulkan: make ApiVersion a little more visible in examples. (, ) 2025-02-13 15:49:47 +01:00
ocornut
890ead6a71 Backends: Vulkan: Added ApiVersion field in ImGui_ImplVulkan_InitInfo. Dynamic rendering path loads "vkCmdBeginRendering/vkCmdEndRendering" without -KHR on API 1.3. (, ) 2025-02-13 15:40:49 +01:00
ocornut
b78cc37891 Backends: SDL2: Fixed build for versions older than 2.0.14. () 2025-02-12 19:27:43 +01:00
ocornut
88cda0cab6 Fixed minor warning. Added comment. 2025-02-10 12:39:54 +01:00
ocornut
a431e1277e Backends: SDL2, SDL3: Using SDL_OpenURL() in platform_io.Platform_OpenInShellFn handler. () 2025-02-10 12:09:44 +01:00
fdsa
4f1d3809c3 Fixed tabs and spaces () 2025-02-06 19:54:43 +01:00
ocornut
2d20e13746 Backends: GLFW: Added comment about io.AddMouseSourceEvent() not being properly called. () 2025-02-04 20:19:57 +01:00
PhantomCloak
da0ba9e2fe Backends: WebGPU: add type alias for dawn WGPUProgrammableStageDescriptor -> WGPUComputeState. () 2025-02-03 16:00:59 +01:00
ocornut
5dd84082ab InputTextWithHint(): Fixed buffer overflow when user callback modifies the buffer contents in a way that alters hint visibility. () 2025-02-03 15:11:22 +01:00
ocornut
204cebc8fc Backends: Metal: Fixed a crash on application resources. (, ) [@anszom] 2025-02-03 14:21:53 +01:00
ocornut
d17e9fc107 Backends: SDL_GPU: shallow tweaks + disable anisotropy in sampler. Examples: SDL+Vulkan: Fixed incorrect defines. 2025-01-22 10:37:39 +01:00
ocornut
4c2e7bb035 Backends: SDL2,SDL3: removed assert preventing using ImGui_ImplSDL2_SetGamepadMode()/ImGui_ImplSDL3_SetGamepadMode() with ImGui_ImplSDL2_GamepadMode_Manual/ImGui_ImplSDL3_GamepadMode_Manual and an empty array. () 2025-01-20 15:24:46 +01:00
ocornut
8b0af7fddc Backends: SDL: update comments regarding API stability, regarding SDL_GPU and SDL_Renderer. 2025-01-20 14:30:40 +01:00
Julian Rachele
aa1b4ea861 Backends: OSX: Remove notification observer when shutting down. () 2025-01-20 09:24:43 +01:00
Daniel K. O. (dkosmari)
aa23f3801b Backends: SDL_Renderer2/3: Use endian-dependent RGBA32 texture format, to match SDL_Color. () 2025-01-18 17:26:36 +01:00
ocornut
dd89a3741b Backends: Vulkan: sharing duplicate code. (, ) 2025-01-17 17:11:22 +01:00
ocornut
b4a5d1dc53 Backends: SDLGPU3: Rename GpuDevice->Device. Expose ImGui_ImplSDLGPU3_CreateDeviceObjects(), ImGui_ImplSDLGPU3_DestroyDeviceObjects(). Misc renaming. (, , ) 2025-01-16 12:43:06 +01:00
ocornut
8ebf22d3c1 Backends: Vulkan: use ImVector<> for simplicity. 2025-01-15 16:21:16 +01:00
ocornut
0e21bde77b Misc shallow merge to reduce diff in other branches. 2025-01-15 14:00:03 +01:00
ocornut
100075f2be Backends: DirectX12: Texture upload use the command queue provided in ImGui_ImplDX12_InitInfo instead of creating its own.
+ minor tweaks to faciliate branch merging.
2025-01-15 12:15:24 +01:00
ocornut
21902e2f53 Backends: SDL_GPU: fixed SDL_GPUViewport initialisation. (, , )
Probably harmless. Amend 8bbccf7
2025-01-13 19:51:15 +01:00
ocornut
6fb7d44255 Backends: SDL2/SDL3: Comments. (, ) 2025-01-13 17:40:38 +01:00
ocornut
0b8ff4b238 Backends, Examples: Vulkan: add IMGUI_IMPL_VULKAN_MINIMUM_IMAGE_SAMPLER_POOL_SIZE. use in descriptor pools sizes. () 2025-01-09 23:29:44 +01:00