You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
imgui/backends
Pascal Thomet 18dca11dd0 Backends: GLFW, SDL2: ImplXXX_GetContentScaleXXX() helpers return 1.0f on emscripten / apple / android (#8742, #8733)
We can divide platforms into two cases based on how they report screen geometry:
- Case 1: Platforms which report screen size in "physical pixels": Windows (for "Dpi aware" apps), Linux (with Wayland)
- Case 2: Platforms which report screen size in "density-independent pixels": macOS, iOS, Android, emscripten

As a consequence, there are two important things we need to know:
- FramebufferScale: The scaling factor FrameBufferSize / ScreenSize
  - In case 1, the framebuffer size is equal to the screen size and DisplayFramebufferScale=1.
  - In case 2, the framebuffer size is equal to the screen size multiplied by a factor, for example DisplayFramebufferScale=2.
- ContentScale The scaling factor for the content that we will display
  - In case 1, the content scale will often need to be > 1 (e.g., 2), because we will need to display bigger elements so that they show with a correct physical size on the screen.
  - In case 2, the content scale is equal to 1
This commit fixes ContentScale for platforms in case 2.
2 months ago
..
sdlgpu3 Backends: SDLGPU3: Added sdl_gpu backend (amends). (#8163, #7998, #7988) 8 months ago
vulkan Backends: SDLGPU3: Added sdl_gpu backend (amends). (#8163, #7998, #7988) 8 months ago
imgui_impl_allegro5.cpp Backends: Allegro5: fixed texture update broken on some platforms where ALLEGRO_LOCK_WRITEONLY needed all texels to be rewritten. (#8770) 2 months ago
imgui_impl_allegro5.h Backends: Allegro5: added ImGuiBackendFlags_RendererHasTextures support. 3 months ago
imgui_impl_android.cpp Backends: SDL2, SDL3, OSX: Fill gamepad inputs and set ImGuiBackendFlags_HasGamepad regardless of ImGuiConfigFlags_NavEnableGamepad being set. (#8508) 6 months ago
imgui_impl_android.h Backends: SDL2, SDL3, OSX: Fill gamepad inputs and set ImGuiBackendFlags_HasGamepad regardless of ImGuiConfigFlags_NavEnableGamepad being set. (#8508) 6 months ago
imgui_impl_dx9.cpp Backends: warning fix. 3 months ago
imgui_impl_dx9.h Backends: DirectX9: added ImGuiBackendFlags_RendererHasTextures support 3 months ago
imgui_impl_dx10.cpp Backends: Fixed various warnings discovered when using MinGW GCC 15/Clang on latest backends. 3 months ago
imgui_impl_dx10.h Backends: DirectX10: added ImGuiBackendFlags_RendererHasTextures support. 3 months ago
imgui_impl_dx11.cpp Backends: Fixed various warnings discovered when using MinGW GCC 15/Clang on latest backends. 3 months ago
imgui_impl_dx11.h Backends: DirectX11: added ImGuiBackendFlags_RendererHasTextures support. 3 months ago
imgui_impl_dx12.cpp Backends: Fixed various warnings discovered when using MinGW GCC 15/Clang on latest backends. 3 months ago
imgui_impl_dx12.h Backends: DirectX12: added ImGuiBackendFlags_RendererHasTextures support. 3 months ago
imgui_impl_glfw.cpp Backends: GLFW, SDL2: ImplXXX_GetContentScaleXXX() helpers return 1.0f on emscripten / apple / android (#8742, #8733) 2 months ago
imgui_impl_glfw.h Backends: GLFW: Added support for multiple Dear ImGui contexts. (#8676, #8239, #8069) 3 months ago
imgui_impl_glut.cpp Fixed tabs and spaces (#8377) 7 months ago
imgui_impl_glut.h Backends: standardized top of file comments. 9 months ago
imgui_impl_metal.h Backends: Metal: added ImGuiBackendFlags_RendererHasTextures support. 3 months ago
imgui_impl_metal.mm Backends: Metal: added ImGuiBackendFlags_RendererHasTextures support. 3 months ago
imgui_impl_opengl2.cpp Various/misc fixes following back-and-forth dynamic_fonts->master->docking merges. Added missing API BREAKING CHANGES section. 3 months ago
imgui_impl_opengl2.h Backends: OpenGL2: added ImGuiBackendFlags_RendererHasTextures support. 3 months ago
imgui_impl_opengl3.cpp Backends: DX10, DX11, DX12, OpenGL3, Vulkan, WGPU: Assert when CreateDeviceObjects() calls return false. 3 months ago
imgui_impl_opengl3.h Backends: OpenGL3: added ImGuiBackendFlags_RendererHasTextures support. 3 months ago
imgui_impl_opengl3_loader.h Backends: OpenGL3: added ImGuiBackendFlags_RendererHasTextures support. 3 months ago
imgui_impl_osx.h Backends: OSX: added ImGuiMouseCursor_Wait and ImGuiMouseCursor_Progress mouse cursor support. (#8739) 3 months ago
imgui_impl_osx.mm Backends: OSX: added ImGuiMouseCursor_Wait and ImGuiMouseCursor_Progress mouse cursor support. (#8739) 3 months ago
imgui_impl_sdl2.cpp Backends: GLFW, SDL2: ImplXXX_GetContentScaleXXX() helpers return 1.0f on emscripten / apple / android (#8742, #8733) 2 months ago
imgui_impl_sdl2.h Backends: SDL2: added ImGui_ImplSDL2_GetDpiScaleForDisplay(), ImGui_ImplSDL2_GetContentScaleForWindow() helpers. 3 months ago
imgui_impl_sdl3.cpp Backends: SDL3: avoid calling SDL_StartTextInput() again if already active. (#8727) 3 months ago
imgui_impl_sdl3.h Backends: SDL2, SDL3, OSX: Fill gamepad inputs and set ImGuiBackendFlags_HasGamepad regardless of ImGuiConfigFlags_NavEnableGamepad being set. (#8508) 6 months ago
imgui_impl_sdlgpu3.cpp Backends: SDLGPU: fixes call to SDL_MapGPUTransferBuffer(). Fixes artifacts on OSX/Metal. (#8465, #8703) 3 months ago
imgui_impl_sdlgpu3.h Various/misc fixes following back-and-forth dynamic_fonts->master->docking merges. Added missing API BREAKING CHANGES section. 3 months ago
imgui_impl_sdlgpu3_shaders.h Backends: SDLGPU3: Added sdl_gpu backend. (#8163, #7998, #7988) 8 months ago
imgui_impl_sdlrenderer2.cpp Backends: Fixed various warnings discovered when using MinGW GCC 15/Clang on latest backends. 3 months ago
imgui_impl_sdlrenderer2.h Various/misc fixes following back-and-forth dynamic_fonts->master->docking merges. Added missing API BREAKING CHANGES section. 3 months ago
imgui_impl_sdlrenderer3.cpp Backends: Fixed various warnings discovered when using MinGW GCC 15/Clang on latest backends. 3 months ago
imgui_impl_sdlrenderer3.h Various/misc fixes following back-and-forth dynamic_fonts->master->docking merges. Added missing API BREAKING CHANGES section. 3 months ago
imgui_impl_vulkan.cpp Backends: Vulkan: use separate barrier for buffer. (#8772) 2 months ago
imgui_impl_vulkan.h Backends: Vulkan: added ImGuiBackendFlags_RendererHasTextures support. 3 months ago
imgui_impl_wgpu.cpp Backends: DX10, DX11, DX12, OpenGL3, Vulkan, WGPU: Assert when CreateDeviceObjects() calls return false. 3 months ago
imgui_impl_wgpu.h Backends: WGPU: added ImGuiBackendFlags_RendererHasTextures support. (#8465) 3 months ago
imgui_impl_win32.cpp Backends: Fixed various warnings discovered when using MinGW GCC 15/Clang on latest backends. 3 months ago
imgui_impl_win32.h Backends: SDL2, SDL3, OSX: Fill gamepad inputs and set ImGuiBackendFlags_HasGamepad regardless of ImGuiConfigFlags_NavEnableGamepad being set. (#8508) 6 months ago