ocornut
4d216d4510
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_sdlgpu3.cpp
2025-08-27 18:57:56 +02:00
ocornut
fe03035112
Docs: advertise ProggyVector font as an alternative.
2025-08-20 20:02:49 +02:00
PTSVU
03e39ca7f5
Backends: SDL_GPU: add swapchain parameters to ImGui_ImplSDLGPU3_InitInfo. ( #8892 )
...
(docking branch commit)
2025-08-20 18:51:50 +02:00
PTSVU
7c6fa8f8f7
Backends: SDL_GPU: add swapchain parameters to ImGui_ImplSDLGPU3_InitInfo. ( #8892 )
...
(master branch commit, values are not used)
2025-08-20 18:43:04 +02:00
ocornut
4ebfe1cba5
Merge branch 'master' into docking
2025-08-20 18:28:39 +02:00
scribam
655601169b
Examples: Android+OpenGL3: update Gradle project, amend. ( #8888 , #8878 )
2025-08-19 15:20:53 +02:00
scribam
361e370fe0
Examples: Android+OpenGL3: update Gradle project ( #8888 , #8878 )
2025-08-19 15:16:15 +02:00
ocornut
cbf9e3f554
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_sdlgpu3.cpp
# imgui.cpp
2025-08-08 15:51:56 +02:00
Adem Budak
d163e20f63
Examples: Win32+OpenGL3: Replace legacy 'GL/GL.h' with 'GL/gl.h' ( #8861 )
2025-08-06 10:43:57 +09:00
ocornut
902b8cc39a
Examples: SDL3+SDL_GPU: use SDL_GPU_PRESENTMODE_VSYNC present mode. ( #8830 )
2025-08-04 15:30:25 +09:00
o:tone
70cfc02811
Examples: SDL3+SDL_GPU: use SDL_WaitAndAcquireGPUSwapchainTexture() instead of SDL_AcquireGPUSwapchainTexture(). ( #8830 )
2025-08-04 15:28:38 +09:00
ocornut
34debc733f
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_vulkan.cpp
# imgui.h
2025-07-27 20:35:25 +09:00
ocornut
4f00774006
Examples: SDL3+Metal: Amend example. ( #8827 , #8825 )
...
Amend 8403c49
2025-07-23 16:11:47 +09:00
Shi Yan
8403c49484
Examples: SDL3+Metal: Added example. ( #8827 , #8825 )
2025-07-23 15:58:13 +09:00
ocornut
c99ac2451f
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_vulkan.cpp
2025-07-08 17:25:22 +02:00
Pascal Thomet
ed7d965818
Examples: GLFW+OpenGL3, GLFW+WGPU: Emscripten Makefiles uses port contrib.glfw3 ( #8742 )
...
This unofficial port offers a better support for HighDPI.
See
- https://emscripten.org/docs/compiling/Contrib-Ports.html
- https://github.com/pongasoft/emscripten-glfw
2025-07-08 15:57:22 +02:00
ocornut
1e130e045b
Examples: set ConfigDpiScaleFonts / ConfigDpiScaleViewports in all examples already setup for scaling.
2025-06-11 18:11:32 +02:00
ocornut
6af6cec23f
Merge branch 'master_fonts' into docking
...
# Conflicts:
# backends/imgui_impl_dx10.cpp
# backends/imgui_impl_dx10.h
# backends/imgui_impl_dx11.cpp
# backends/imgui_impl_dx12.cpp
# backends/imgui_impl_dx9.cpp
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_metal.h
# backends/imgui_impl_metal.mm
# backends/imgui_impl_opengl2.cpp
# backends/imgui_impl_opengl2.h
# backends/imgui_impl_opengl3.cpp
# backends/imgui_impl_opengl3.h
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# backends/imgui_impl_sdlgpu3.cpp
# backends/imgui_impl_sdlgpu3.h
# backends/imgui_impl_vulkan.cpp
# examples/example_glfw_opengl3/main.cpp
# examples/example_sdl2_directx11/main.cpp
# examples/example_sdl2_opengl2/main.cpp
# examples/example_sdl2_opengl3/main.cpp
# examples/example_sdl2_vulkan/main.cpp
# examples/example_sdl3_opengl3/main.cpp
# examples/example_sdl3_sdlgpu3/main.cpp
# examples/example_sdl3_vulkan/main.cpp
# examples/example_win32_directx10/main.cpp
# examples/example_win32_directx11/main.cpp
# examples/example_win32_directx12/main.cpp
# examples/example_win32_directx9/main.cpp
# imgui.cpp
# imgui.h
# imgui_demo.cpp
# imgui_internal.h
2025-06-11 18:07:19 +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
bc394410a2
Examples: Win32+DX9/DX10/DX11/DX12, SDL2+DX11/OpenGL2/OpenGL3/SDLRenderer/Vulkan, SDL3+OpenGL/SDLGPU/SDLRenderer/Vulkan: made example DPI aware by default. (master + docking: partial support for multi-dpi by scaling fonts + viewports but not style)
...
We don't bother with WIN32_LEAN_AND_MEAN.
# Conflicts:
# examples/example_glfw_opengl3/main.cpp
# examples/example_sdl2_directx11/main.cpp
# examples/example_sdl2_opengl2/main.cpp
# examples/example_sdl2_opengl3/main.cpp
# examples/example_sdl2_vulkan/main.cpp
# examples/example_sdl3_opengl3/main.cpp
# examples/example_sdl3_sdlgpu3/main.cpp
# examples/example_sdl3_vulkan/main.cpp
# examples/example_win32_directx10/main.cpp
# examples/example_win32_directx11/main.cpp
# examples/example_win32_directx12/main.cpp
# examples/example_win32_directx9/main.cpp
2025-06-11 16:24:05 +02:00
ocornut
d72e66cdee
Examples: remove comments/references about baking and GetGlyphRangesJapanese().
2025-06-11 16:11:03 +02:00
ocornut
0f0473bf1c
Fonts, Textures: main code for ImGuiBackendFlags_RendererHasTextures feature.
...
# Conflicts:
# imgui.h
# imgui_demo.cpp
2025-06-11 15:03:46 +02:00
ocornut
e55415bfef
(Breaking) renamed/moved ImGuiConfigFlags_DpiEnableScaleFonts -> ioConfigDpiScaleFonts, ImGuiConfigFlags_DpiEnableScaleViewports -> io.ConfigDpiScaleViewports
2025-06-11 15:02:06 +02:00
ocornut
a92b53df7b
Backends: Win32: Viewports: handle WM_DPICHANGED in backend when ImGuiConfigFlags_DpiEnableScaleViewports flag is enabled.
2025-06-02 19:21:22 +02:00
ocornut
c008c7d494
Merge remote-tracking branch 'origin/master' into docking
...
# Conflicts:
# backends/imgui_impl_dx10.cpp
# backends/imgui_impl_dx11.cpp
# backends/imgui_impl_dx12.cpp
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
2025-05-15 14:45:15 +02:00
ocornut
c90ea1315a
Viewports: added per-viewport FramebufferScale, Platform_GetWindowFramebufferScale() + Backends: GLFW, SDL2, SDL3, Apple: added support. ( #1065 , #1542 , #1676 , #1786 , #2826 , #3757 , #5081 , #5580 , #5592 , #6465 , #7273 , #7779 etc.)
...
)
Metal backend is not in charge of writing to DpiScale/FramebufferScale (tho it was a neat workaround).
2025-05-15 14:43:30 +02:00
ocornut
b5a73033ab
Examples: Apple: Amend build scripts and gitignore, fix misc OSX warnings. ( #8637 )
...
# Conflicts:
# backends/imgui_impl_metal.mm
2025-05-14 18:23:31 +02:00
Pascal Thomet
2df9e9b103
Examples: Apple: add Makefile for example_apple_metal, example_apple_opengl2. ( #8637 )
...
- Works only for macOS: use XCode for iOS
- It will produce a raw exe. It will not a produce an macOS application bundle (i.e a folder that includes exe and resources). To get app bundles, use the XCode project.
- An adjustment was required in main.mm (for macOS only), to ensure that the exe can run without any plist or storyboard under macOS
2025-05-14 18:23:31 +02:00
ocornut
1c8fad73f8
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_sdlgpu3.cpp
# backends/imgui_impl_vulkan.cpp
# backends/imgui_impl_win32.cpp
2025-05-07 15:24:46 +02:00
ocornut
46235e91f6
Examples: SDL3: specify SDL_WINDOW_HIGH_PIXEL_DENSITY and make centering consistent + call SDL_RenderScale().
2025-05-05 20:04:32 +02:00
ocornut
e3bfaab3f7
Examples: update xcode projects.
2025-05-05 18:38:55 +02:00
ocornut
20066a8964
Examples: DirectX12+Win32: also test for IsIconic() for sleeping since we don't seem to get a DXGI_STATUS_OCCLUDED signal when minimized. ( #8603 )
...
Amend ec1d2be96f . (#2496 , #3907 , #6308 , #7615 )
This technically prevents multi-viewports from working with io.ConfigViewportsNoDefaultParent=true but this is a more fringe case to handle for our example app, better tradeoff imho to use IsIconic().
2025-04-30 11:30:06 +02:00
ocornut
87f12e56fe
Backends: SDL_GPU: Added multi-viewport support. Amends + update example. ( #8573 , #8163 , #7998 , #7988 )
2025-04-17 15:41:15 +02:00
ocornut
88d2df24be
Merge branch 'master' into docking
2025-04-16 20:31:18 +02:00
ocornut
b23a216ecd
Examples: added SDL2+Vulkan, SDL3+Vulkan, GLFW+Vulkan makefiles. Amend ignore list. ( #2480 )
2025-04-16 15:04:14 +02:00
ocornut
df5690d91a
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_osx.mm
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# imgui.cpp
2025-03-30 16:42:28 +02:00
puugz
a806d2f9b8
Backends: SDLGPU: Fixed typo in function name Imgui_ImplSDLGPU3_PrepareDrawData() -> ImGui_ImplSDLGPU3_PrepareDrawData(). ( #8509 , 8163, #7998 , #7988 )
2025-03-21 20:16:56 +01:00
tanksdude
f5003aff69
Docs: Fix some typos ( #8505 )
2025-03-21 16:23:09 +01:00
ocornut
aa97252f60
Merge branch 'master' into docking
...
# Conflicts:
# imgui_internal.h
2025-03-13 21:01:21 +01:00
ocornut
de4f77b0ac
Backends: DX12: comment about using SrvDescriptorAllocFn/SrvDescriptorFreeFn.
...
Amend 40b2286d16
2025-03-12 15:47:37 +01:00
ocornut
09654f4e8c
Revert "Examples: Updated all .vcxproj from VS2015 to VS2019 (toolset v140 to v142), Windows SDK 8.1 to 10."
...
This reverts commit 6da230636b .
2025-03-11 18:42:12 +01:00
ocornut
6da230636b
Examples: Updated all .vcxproj from VS2015 to VS2019 (toolset v140 to v142), Windows SDK 8.1 to 10.
2025-03-11 12:25:19 +01:00
ocornut
19d060cc26
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
2025-03-05 20:33:16 +01:00
ocornut
a7657f2ed4
Examples: SDL3: Added comments to clarify setup for users of the unfortunate SDL_MAIN_USE_CALLBACKS feature. ( #8455 )
2025-03-04 14:36:00 +01:00
ocornut
3fb14b50f8
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_dx12.cpp
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# imgui.cpp
2025-02-26 21:08:45 +01:00
ocornut
242d856ede
Examples: SDL3+SDL_Renderer: removed reference to OpenGL to remove confusion. ( #8434 )
...
Amend
2025-02-26 14:40:41 +01:00
Russ Gibson
a86fcbd947
Examples: SDL3+SDL_Renderer: removed reference to OpenGL to remove confusion. ( #8434 )
2025-02-26 14:38:08 +01:00
ocornut
773060155f
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_glfw.h
# backends/imgui_impl_opengl3.cpp
# backends/imgui_impl_osx.h
# backends/imgui_impl_osx.mm
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# backends/imgui_impl_win32.cpp
# imgui.cpp
2025-02-21 19:56:20 +01:00
ocornut
1e18a6cf60
Examples: GLFW+Vulkan: make GLFW_DIR overridable in cmake bit. ( #8419 )
2025-02-21 16:55:35 +01:00
Tygyh
a6bcbb173b
Examples: Android: Update kotlin version ( #8409 )
2025-02-20 18:07:25 +01:00