ocornut
8c8b8fc266
Examples: Apple: standardize activation and bringing to front.
...
+ fix warnings.
# Conflicts:
# backends/imgui_impl_metal4.mm
2026-11-04 18:37:55 +01:00
ocornut
b2298afa71
Examples: Apple: add native menu with Quit entry. Add missing title text. Standardize code.
2026-11-04 18:37:18 +01:00
Harish Rajaselvan
4e99c0ab1a
CI: added Windows ARM64 build jobs. Examples: added ARM64 support in build_win.bat files. ( #9593 )
2026-10-23 18:05:20 +02:00
ocornut
09fe7b19d7
Examples: refactored remaining batch files to detect architecture. (Amend)
...
Amend 20ba6c4
2026-10-23 16:11:49 +02:00
ocornut
20ba6c4a28
Examples: refactored remaining batch files to detect architecture.
...
(also came to this while reviewing #9593 )
2026-10-23 16:09:59 +02:00
ocornut
6dd654f27a
Examples: renamed various helper batch files from build_win32.bat to build_win.bat.
...
(also came to this while reviewing #9593 )
2026-10-23 15:32:01 +02:00
ocornut
2b7a9dcca4
Examples: remove references to DXSDK_DIR which is for DX9.
...
(realized this while reviewing #9593 )
2026-10-23 14:44:55 +02:00
ocornut
a536894821
Examples: all examples now default to use a little bit of rounding (FrameRounding and GrabRounding).
2026-10-14 16:45:18 +02:00
Yan Pujante
dc09bbee1e
Examples: GLFW/SDL2/SDL3+WebGPU: better select surface format instead of using surface_capabilities.formats[0]. ( #9576 )
2026-10-12 13:11:45 +02:00
ocornut
3f00c0d0f4
Examples: GLFW+Metal: fixed mistakenly calling ImGui_ImplGlfw_InitForOpenGL(), which broke multi-viewport support. ( #9564 )
2026-09-30 19:13:56 +02:00
ocornut
4898533613
Backends: DX10, DX11, DX12, Metal/4, OpenGL2/3, SDLGPU3, Vulkan: round framebuffer dimensions instead of truncating. ( #9538 , #9515 , #8628 )
2026-09-07 12:47:03 +02:00
ocornut
4dbb921b22
Examples: disabled /JMC in Visual Studio projects (unnecessary overhead).
2026-09-02 17:15:39 +02:00
ocornut
7e0de0e411
Examples: GLFW/SDL2/SDL3+WebGPU: fixed running with wgpu-native missing wgpuInstanceWaitAny(). ( #9377 )
2026-08-31 12:30:37 +02:00
ocornut
e44b1129bd
Backends, Examples: WebGPU: fixed warnings, renamed .sln, fixed SDL2+WGPU cmakefile.
2026-08-31 12:11:39 +02:00
ocornut
5de45fb1d9
Trim trailing white spaces. Changes some NULL to nullptr.
2026-08-07 16:00:53 +02:00
ocornut
5b6e19bb50
Examples: Apple+OpenGL3: added new example.
2026-08-06 23:10:56 +02:00
ocornut
70e60a3c4c
Examples: Apple+OpenGL2: silence warnings.
...
Example is precisely to demonstrate OpenGL.
2026-08-06 23:01:56 +02:00
ocornut
2ddb5fc095
Examples: SDL2+Metal: stop using SDL_CreateRenderer(). ( #5592 )
2026-08-06 21:28:57 +02:00
ocornut
98f3efcf07
Examples: SDL2+Metal: fixed mismatches with other examples.
2026-08-06 21:19:59 +02:00
ocornut
724c69b182
Backends: SDL2: fixed querying framebuffer scale/density when using Metal. ( #5592 )
2026-08-06 18:34:33 +02:00
ocornut
7c9f0c148c
Backends, Examples: QNX: amends. Moved ignore list to main file. Removed .use files. ( #9492 )
...
Moved functions in example_qnx_opengl3/main.cpp to match structure of other examples.
2026-08-04 14:20:12 +02:00
Mike Gorchak
40ec568762
Backends+Examples: QNX Screen: added initial QNX support to backends and examples. ( #9492 )
2026-08-04 14:10:19 +02:00
ocornut
d94d0f3649
Examples: SDL+WebGPU: removed stray glfw from cmakefiles. ( #9387 , #9428 )
2026-07-23 18:56:53 +02:00
Jonathan Hoffstadt
62399b5bfe
Examples: Apple + Metal4: add example ( #9466 , #9451 )
...
+ Amend edit to EXAMPLES.md, comment build.xml
2026-07-08 18:04:30 +02:00
ocornut
776bf2ab0d
Examples: OpenGL3+Win32: rework OpenGL initialization to allow Wine compatibility. Fix. ( #9427 , #6577 )
...
Fixed commented out test code.
2026-07-03 18:59:37 +02:00
ocornut
4f1ea369ea
Examples: OpenGL3+Win32: rework OpenGL initialization to allow Wine compatibility. ( #9427 , #6577 )
2026-07-03 18:57:14 +02:00
ocornut
a977144955
Examples: OpenGL3+GLFW,SDL2,SDL3: improve Wine compatibility by passing empty GLSL version to ImGui_ImplOpenGL3_Init(). ( #9427 , #6577 )
2026-07-03 18:57:10 +02:00
ocornut
e616ace74d
CI, Backends: Metal4: fixed CI, added comments. ( #9458 )
2026-07-03 17:48:11 +02:00
ocornut
6824e2c2e4
Examples: Android: update to AGP 9.2.0 to support Gradle 9.6.0.
2026-07-02 14:26:46 +02:00
ocornut
caddd26fb9
Backends: Metal4: minor tweaks/comments. ( #9458 , #9451 )
2026-07-02 12:09:06 +02:00
Amélie Heinrich
fc6395365d
Backends: Metal4: Added Metal 4 backend. Added SDL3+Metal4 example. ( #9458 , #9451 )
2026-07-02 12:00:10 +02:00
ocornut
c66d9a8190
Examples, SDL2/SDL3: use SDL_GetWindowSizeInPixels() to create framebuffers. ( #8761 , #9124 )
...
+ cc #7433
2026-06-29 11:50:42 +02:00
Oliver Dixon
5220a3f48d
Examples: WebGPU: Require C++20 to build Dawn examples ( #9433 , #9432 )
2026-06-07 09:58:58 +02:00
ocornut
fc5e2f28fe
Examples: WGPU: fixed typo for wvgk cloning. ( #9428 , #9387 )
2026-06-03 19:24:06 +02:00
manuel
2b31f65167
Examples: WebGPU+GLFW/SDL2/SDL3: wire up the IMGUI_WGVK_DIR path. ( #9387 )
...
The block was a stub - find Vulkan, detect Wayland/X11, set the SUPPORT_*_SURFACE defines that wgvk.c needs.
2026-05-11 15:42:16 +02:00
ocornut
e3033c3975
Examples: moving example_win32_directx11 on top of the .sln makes it the default selected project.
2026-04-24 17:38:51 +02:00
ocornut
4739af2d51
Update VS toolset in all .vcxproj from VS2015 (v140) to VS2017 (v141).
...
It supports vcpkg.
2026-04-23 15:58:04 +02:00
ocornut
fb308c14ce
Remove noise from 0453ae9 + amend comments. ( #914 )
2026-04-22 14:50:15 +02:00
ocornut
ac261203a5
(Breaking) Backends: Vulkan: redesigned to use separate ImageView + Sampler instead of Combined Image Sampler. (fixes, amends) ( #914 )
2026-04-22 14:43:44 +02:00
yaz0r
0453ae96e8
(Breaking) Backends: Vulkan: redesigned to use separate ImageView + Sampler instead of Combined Image Sampler. (WIP) ( #914 )
2026-04-22 14:43:44 +02:00
ocornut
ed2e5dd0f0
Examples+WebGPU: added support for WGVK in cmakefiles. ( #9316 , #9246 , #9257 )
2026-03-25 16:16:15 +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
79411a0405
Backends, Examples: WebGPU: fixed warnings + scale initial surface height for native.
2026-03-23 16:21:50 +01:00
Yan Pujante
4a2e3cce69
Examples: SDL2+WebGPU: fixes hi-dpi handling. ( #9300 )
2026-03-13 17:07:47 +01:00
Yan Pujante
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
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
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