Mark Jansen
c109001524
Premake: Only build example_sdl2_vulkan with both sdl2 and vulkan (7852)
2026-02-23 15:29:31 +01:00
Mark Jansen
53a26a0030
Premake: Add example_sdl2_sdlrenderer2 (7862)
2026-02-23 15:29:31 +01:00
ocornut
9d8f7225b8
Premake: experimental premake5 script.
...
(neater vs project output but certainly less standard than cmake)
(amended 2022-09-28)
(amended 2023-02-07)
2026-02-23 15:29:31 +01:00
Pascal Thomet
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
r-lyeh
b5ccee78b6
Examples: WGPU: fixed undefined behaviors in example init code. ( #9246 , #9256 ) [@r-lyeh]
2026-02-20 16:23:08 +01:00
Adem Budak
3fecb234c8
Examples: SDL3+WGPU: fixed build warning. ( #9255 )
2026-02-19 11:38:41 +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
9c33672e5c
Examples: reword a comment to not mention AddFontDefault() explicitly.
2026-02-12 18:37:31 +01:00
tanksdude
5fe48b6a0e
Docs: fixed some typos ( #9217 )
2026-02-10 16:40:52 +01:00
ocornut
66bb8add73
Docs: better document Shortcut() related stuff. ( #9188 ) Better document io.ConfigDpiScaleFonts. ( #9179 )
2026-01-22 14:35:16 +01:00
ocornut
8c0b410371
Docs: tweaks.
2026-01-20 18:25:18 +01:00
ocornut
14dfd5bf6b
Examples: DX12: update to VS2019 so it supports WIndows SDK 10.0 simplified versioning.
2026-01-19 11:42:08 +01:00
ocornut
9a6eb0ab25
Backends: Vulkan: ImGui_ImplVulkanH_DestroyWindow() oes not call vkDestroySurfaceKHR(): because surface is created by caller. ( #9163 )
...
# Conflicts:
# backends/imgui_impl_vulkan.cpp
2026-01-14 19:37:05 +01:00
ocornut
9ce41a92c3
Misc/shallow merges from docking branch to reduce small drift.
2026-01-08 14:31:25 +01:00
ocornut
b7b8f52437
Examples: Android: update for consistency (untested).
2025-12-23 18:16:33 +01:00
ocornut
05581da183
AddFontDefault() now automatically selects an embedded font between AddFontDefaultVector() and AddFontDefaultBitmap).
2025-12-23 18:16:33 +01:00
ocornut
4e7c05504a
Renamed IM_ARRAYSIZE() -> IM_COUNTOF(). Kept legacy name for now.
2025-12-17 14:30:01 +01:00
ocornut
ae873b1e0d
Misc: rename extraneous parenthesizes from return statements.
2025-11-27 15:01:24 +01:00
Rémy Tassoux
f0699effed
Examples: Win32+DirectX12: Disable breaking on the D3D12_MESSAGE_ID_FENCE_ZERO_WAIT warning. ( #9093 , #9084 )
2025-11-26 15:39:37 +01:00
Leon Lysak
fd887f5241
Backends: SDL_GPU3: use MSL on macOS and MetalLib on iOS to fix shader compatibility. ( #9076 )
...
Edit original PR to keep metallib shader binary since next commit is going to use them.
2025-11-26 15:01:03 +01:00
ocornut
26ff93dadc
Examples: NULL: fixed msvc project.
2025-11-20 14:51:25 +01:00
ocornut
a484fd2b56
Examples: Win32+OpenGL3: enable DPI awareness. ( #9083 )
2025-11-20 14:50:08 +01:00
ocornut
cfb48969af
Examples: CI: backtrack and make example_null embed backend: simpler for all sorts of quick build scripts.
2025-11-17 16:38:07 +01:00
ocornut
7e919a543c
Examples: fix example_null Makefile.
...
Amend b885382,eb19a77
2025-11-17 15:58:12 +01:00
ocornut
eb19a77848
Examples: fix example_null Makefile.
...
Amend b885382
2025-11-17 15:52:32 +01:00
ocornut
b885382a63
Backends: Null: added imgui_impl_null platform/renderer backend.
2025-11-17 15:28:03 +01:00
ocornut
86daa8930e
Backends, Examples: WebGPU: simplified ifndef ( #8381 )
2025-11-07 13:24:16 +01:00
BrutPitt
df3f2fff88
Examples: WebGPU: moved CreateWGPUSurface to the bottom of the file due to interference with X.h. ( #8381 )
2025-11-03 19:15:41 +01:00
ocornut
8e5e79054e
Examples: WGPU: tweak headers and standardize other things so examples have less differences. ( #8381 )
2025-11-03 19:05:28 +01:00
BrutPitt
3cc8b470a6
Backends, Examples: WebGPU: header optimization. Added the code for using Dawn “pre-built” library. ( #8381 )
2025-11-03 19:05:28 +01:00
BrutPitt
ff672b2db3
Examples: SDL2+WebGPU, SDL3+WebGPU: add new examples. ( #8381 )
2025-10-31 19:10:23 +01:00
BrutPitt
778aed9966
Examples: GLFW+WebGPU: update to latest specs and to work on Emscripten 4.0.10+ and latest Dawn-Native, WGPU-Native. ( #8381 , #8567 , #8191 , #7435 )
2025-10-31 19:10:23 +01:00
ocornut
2a229c8cb8
Examples: SDL3+OpenGL3: fixed Emscripten makefile + ignore list.
...
Can't get this to run however.
2025-10-29 14:21:43 +01:00
ocornut
c72d0b2cbb
Backends: Vulkan: SwapChainImageUsage assume VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT which is added automatically. ( #8946 , #8110 , #8111 , #8686 )
...
Merge bad3c14 which was accidentally only pushed to docking. No important side effect.
2025-10-23 21:04:48 +02:00
ocornut
6add99f8d2
Examples: SDL3+Vulkan: Fixed call to ImGui_ImplVulkanH_CreateOrResizeWindow() during resize. ( #9030 )
...
Surprisingly it still worked because ImGui_ImplVulkanH_CreateWindowSwapChain() pulls from `cap.currentExtent` when available.
2025-10-23 20:00:57 +02:00
ocornut
bc5da9b367
Examples: DirectX10: Amends. ( #8979 )
2025-10-22 13:58:51 +02:00
ocornut
b3dab0a406
Examples: DirectX10, DirectX11, DirectX12: comments about fullscreen mode and swapchain setup. ( #8979 )
2025-10-22 13:57:27 +02:00
ocornut
2a022d997b
Examples: GLFW+WebGPU: removed unnecessary ImGui_ImplWGPU_InvalidateDeviceObjects() call during surface resize. ( #8381 )
...
+ Relayout changelog.
2025-10-22 13:42:23 +02:00
ocornut
5870b979a8
Examples: GLFW+WebGPU: fixed cmakefile for example to use legacy path. ( #8381 )
...
Amend 71447b94f
2025-10-22 13:39:00 +02:00
ocornut
4b1f5aba80
Examples: GLFW+WebGPU: moving blocks to simplify upcoming diff. ( #8381 )
2025-10-16 19:42:28 +02:00
ocornut
71447b94fb
Examples: GLFW+WebGPU: default build to legacy for now. ( #8381 )
2025-10-16 18:23:02 +02:00
ocornut
5af650fc6d
Examples: GLFW+WGPU: various tweaks to reduce diff with #8381
2025-10-09 19:24:17 +02:00
ocornut
3dafd9e898
Backends: DirectX12: enable swapchain tearing if available. ( #8965 )
2025-09-29 18:36:13 +02:00
Rémy Tassoux
bab3ebec14
Backends: DX12: Rework synchronization logic. (master) ( #8961 )
2025-09-29 16:14:53 +02:00
ocornut
3470e6112b
(Breaking) Backends: Vulkan: moved fields in ImGui_ImplVulkan_InitInfo: RenderPass, Subpass, MSAASamples, PipelineRenderingCreateInfo. ( #8946 , #8110 , #8111 , #8686 )
2025-09-26 18:23:51 +02:00
ocornut
5fe962216a
(Breaking) Backends: Vulkan: added 'VkImageUsageFlags image_usage' parameter to ImGui_ImplVulkanH_CreateOrResizeWindow(). ( #8946 , #8110 , #8111 , #8686 )
...
Default to VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT.
2025-09-26 18:12:47 +02:00
ocornut
cee40f8af9
Examples: made examples's main.cpp consistent with returning 1 on error.
2025-09-24 17:48:48 +02:00
ocornut
d701ffb478
Examples: added SDL3+DirectX11 example. Minor amends + fix both SDL2/SDL3+DirectX11 to allow WARP driver. ( #8956 , #8957 )
2025-09-22 21:38:33 +02:00
Tomas Jakobsson
a00e517a81
Examples: added SDL3+DirectX11 example. ( #8956 , #8957 )
2025-09-22 21:25:56 +02:00
ocornut
3c6c5692b8
Examples: Win32+Vulkan, GLFW+Metal: Fixed not applying content scale. ( #8921 , #8756 )
...
Somehow it breaks in Win32+OpenGL3 example: when enabled Win32 applies some extra scale.
2025-09-15 16:50:58 +02:00