1313 Commits

Author SHA1 Message Date
slowriot
d02510c267
Merge aaa8b8f4cbb690e0273f5c00279ca8789dfa3889 into a1af3c1a59fe81f7a1cac10dcead0a383b99f245 2026-11-05 11:45:34 +01:00
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
slowriot
aaa8b8f4cb
Merge branch 'ocornut:master' into imgui_impl_emscripten 2026-09-07 22:38:05 +01: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
slowriot
8329d94a47
Merge branch 'ocornut:master' into imgui_impl_emscripten 2026-09-03 16:06:34 +01:00
SlowRiot
dae858d80f Examples: Add emscripten opengl3 example 2026-09-03 15:02:50 +01:00
SlowRiot
db34cdad81 Examples: Emscripten+WebGPU: Align configuration comments with other examples 2026-09-03 14:45:14 +01:00
SlowRiot
d4747a8e3d Examples: Emscripten+WebGPU: Match other example control flow formatting 2026-09-03 14:44:28 +01:00
SlowRiot
30a7ec6fd6 Examples: Emscripten+WebGPU: Align demo window with other examples 2026-09-03 14:40:16 +01:00
SlowRiot
4a63b47664 Examples: Emscripten+WebGPU: Align WebGPU setup with other examples 2026-09-03 14:35:41 +01:00
SlowRiot
b7e7477fe8 Examples: Emscripten+WebGPU: Match project C cast style 2026-09-03 14:32:39 +01:00
SlowRiot
40ed02df53 Examples: Emscripten+WebGPU: Match other example initialisation style 2026-09-03 14:31:37 +01: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