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
r-lyeh
b5ccee78b6
Examples: WGPU: fixed undefined behaviors in example init code. ( #9246 , #9256 ) [@r-lyeh]
2026-02-20 16:23: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
ocornut
9c33672e5c
Examples: reword a comment to not mention AddFontDefault() explicitly.
2026-02-12 18:37:31 +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
05581da183
AddFontDefault() now automatically selects an embedded font between AddFontDefaultVector() and AddFontDefaultBitmap).
2025-12-23 18:16:33 +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
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
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
4b1f5aba80
Examples: GLFW+WebGPU: moving blocks to simplify upcoming diff. ( #8381 )
2025-10-16 19:42:28 +02:00
ocornut
5af650fc6d
Examples: GLFW+WGPU: various tweaks to reduce diff with #8381
2025-10-09 19:24:17 +02:00
ocornut
e044d99710
Examples: standardized all examples to have a base window size of 1280x800.
2025-09-15 16:34:36 +02:00
ocornut
fe03035112
Docs: advertise ProggyVector font as an alternative.
2025-08-20 20:02:49 +02:00
ocornut
c18301f356
Examples: remove explicit font sizes from AddFontXXX() calls. Add commented out style.FontSizeBase assignment.
2025-06-11 16:25:03 +02:00
ocornut
d72e66cdee
Examples: remove comments/references about baking and GetGlyphRangesJapanese().
2025-06-11 16:11:03 +02:00
ocornut
fd57b252ac
Examples: Fix for Emscripten. GLFW+WGPU: rework examples main loop to handle minimization. ( #7844 )
...
Amend 8874787 , 71ee2ce
Amend ea39841f (emscripten_mainloop_stub.h)
2024-07-31 17:47:38 +02:00
Yan Pujante
6816789a6b
Backends: GLFW+Emscripten: (Breaking) Renamed ImGui_ImplGlfw_InstallEmscriptenCanvasResizeCallback() to ImGui_ImplGlfw_InstallEmscriptenCallbacks(), added GLFWwindow* parameter. ( #7647 , #7600 )
...
+ Fixed Emscripten warning when using mouse wheel on some setups.
2024-07-08 22:02:48 +02:00
ocornut
7b8107e7c8
Examples: GLFW+WebGPU: Rename example_emscripten_wgpu/ to example_glfw_wgpu/ ( #7435 , #7132 )
2024-04-16 14:16:32 +02:00