imgui/backends
Clownacy c6cab1f352 Backends: SDL: Added SDL_Renderer* parameter to ImGui_ImplSDL2_InitForSDLRenderer(). Use SDL_GetRendererOutputSize() instead of SDL_GL_GetDrawableSize() when bound to a SDL_Renderer. (#4927)
This is (kind of) an OpenGL-only function, which should be avoided when SDL2 isn't using OpenGL.
The only alternative that is recommended is SDL_GetRendererOutputSize, which limits this fix to the SDL_Renderer backend. Still, I think it's better than nothing.
I say that SDL_GL_GetDrawableSize is "kind of" OpenGL-only because it does technically work even when SDL2 isn't using OpenGL.
It's just that it becomes a shim to SDL_GetWindowSize, which is not suitable for high-DPI usage because it reflects the size of the window in screen coordinates, not actual pixels, so it really should be avoided when not using OpenGL.
2022-02-04 16:51:29 +01:00
..
vulkan Moving backends code from examples/ to backends/ (step 2: moving vulkan cruft) 2020-10-14 14:41:40 +02:00
imgui_impl_allegro5.cpp (BREAKING) Replaced AddKeyModsEvent() added by 790132a in favor of unified key enum system. Backends: update most. (#4921, #4858) 2022-01-27 17:46:48 +01:00
imgui_impl_allegro5.h Backends: Allegro5: Update to use io.AddEventKey() will full key map (#2625, #4858) 2022-01-10 15:13:36 +01:00
imgui_impl_android.cpp Backends: OSX, Android: Replaced AddKeyModsEvent() added by 790132a in favor of unified key enum system. (#4921, #4858) 2022-01-27 17:46:48 +01:00
imgui_impl_android.h Backends: Android: Update to use io.AddEventKey() will full key map (#2625, #4858) 2022-01-10 15:15:24 +01:00
imgui_impl_dx9.cpp Backends: Fixed early out on empty clip rect. In particular, DX12 backend would warn about it (others not so much). (#4775, #4464) 2021-11-30 21:48:29 +01:00
imgui_impl_dx9.h Backends: Comments. 2021-05-27 13:59:35 +02:00
imgui_impl_dx10.cpp Backends: Fixed early out on empty clip rect. In particular, DX12 backend would warn about it (others not so much). (#4775, #4464) 2021-11-30 21:48:29 +01:00
imgui_impl_dx10.h Backends: Comments. 2021-05-27 13:59:35 +02:00
imgui_impl_dx11.cpp Backends: Fixed early out on empty clip rect. In particular, DX12 backend would warn about it (others not so much). (#4775, #4464) 2021-11-30 21:48:29 +01:00
imgui_impl_dx11.h Backends: Comments. 2021-05-27 13:59:35 +02:00
imgui_impl_dx12.cpp Backends: Fixed early out on empty clip rect. In particular, DX12 backend would warn about it (others not so much). (#4775, #4464) 2021-11-30 21:48:29 +01:00
imgui_impl_dx12.h Backends: Vulkan: Added support for ImTextureID as VkDescriptorSet, amends. (#914) 2022-01-20 15:53:28 +01:00
imgui_impl_glfw.cpp Backends: GLFW: Fixed miss untranslation of keypad keys. (#4921, #452) 2022-02-01 15:29:10 +01:00
imgui_impl_glfw.h Backends: GLFW: Update mouse inputs using glfwSetCursorPosCallback() (breaking) + fallback to provide it when focused but not hovered/captured + update MousePos before MouseButtons. 2022-01-12 17:48:47 +01:00
imgui_impl_glut.cpp (BREAKING) Replaced AddKeyModsEvent() added by 790132a in favor of unified key enum system. Backends: update most. (#4921, #4858) 2022-01-27 17:46:48 +01:00
imgui_impl_glut.h Backends: GLUT: Update to use io.AddEventKey() will full key map (#2625, #4858) 2022-01-10 15:14:01 +01:00
imgui_impl_metal.h Backends: Metal: Add Metal C++ bindings support. (#4824, #4746) 2021-12-30 15:04:03 +01:00
imgui_impl_metal.mm Backends: Metal: Ignore ImDrawCmd where ElemCount == 0. (#4857) 2022-01-03 22:14:19 +01:00
imgui_impl_opengl2.cpp Backends: OpenGL2, Marmalade: Fixed mishandling of the ImDrawCmd::IdxOffset field. (#4790) 2021-12-08 16:26:52 +01:00
imgui_impl_opengl2.h Backends: Comments. 2021-05-27 13:59:35 +02:00
imgui_impl_opengl3_loader.h Version 1.87 WIP + Backends: OpenGL3: Fixed a buffer overflow in imgui_impl_opengl3_loader.h init, added in 1.86 (#4468, #4830) 2021-12-26 20:02:02 +01:00
imgui_impl_opengl3.cpp Backends: Silence overzealous warnings. (#4834) Add comments about SetDragDropPayload() return value. (#4835) 2021-12-29 12:44:12 +01:00
imgui_impl_opengl3.h Backends: OpenGL3: Add TargetConditionals.h (#4473) + standardize include 2021-08-24 15:36:44 +02:00
imgui_impl_osx.h Backends: OSX: Adedd basic IME support for macOS. (#3108, #2598) 2022-01-12 14:37:05 +01:00
imgui_impl_osx.mm Backends: OSX: Fix building with old Xcode versions. 2022-01-31 14:41:56 +01:00
imgui_impl_sdl.cpp Backends: SDL: Added SDL_Renderer* parameter to ImGui_ImplSDL2_InitForSDLRenderer(). Use SDL_GetRendererOutputSize() instead of SDL_GL_GetDrawableSize() when bound to a SDL_Renderer. (#4927) 2022-02-04 16:51:29 +01:00
imgui_impl_sdl.h Backends: SDL: Added SDL_Renderer* parameter to ImGui_ImplSDL2_InitForSDLRenderer(). Use SDL_GetRendererOutputSize() instead of SDL_GL_GetDrawableSize() when bound to a SDL_Renderer. (#4927) 2022-02-04 16:51:29 +01:00
imgui_impl_sdlrenderer.cpp Backends: SDL_Renderer: Fix texture atlas format on big-endian hardware (#4927) 2022-02-04 16:43:05 +01:00
imgui_impl_sdlrenderer.h Backends: SDL_Renderer: Added support for large meshes (64k+ vertices) with 16-bit indices, enable 'ImGuiBackendFlags_RendererHasVtxOffset' in this backend. (#3926) 2021-12-03 12:28:03 +01:00
imgui_impl_vulkan.cpp Backends: Vulkan: Amends, fix miscast on 32-bit systems with the right ImTextureID=ImU64. (#914) 2022-01-20 16:56:29 +01:00
imgui_impl_vulkan.h Backends: Vulkan: Added support for ImTextureID as VkDescriptorSet, amends. (#914) 2022-01-20 15:53:28 +01:00
imgui_impl_wgpu.cpp Backend: WebGPU: Fixed incorrect size parameters in WGPU backend (#4891) 2022-01-12 14:16:55 +01:00
imgui_impl_wgpu.h Backends: Comments. 2021-05-27 13:59:35 +02:00
imgui_impl_win32.cpp (BREAKING) Replaced AddKeyModsEvent() added by 790132a in favor of unified key enum system. Backends: update most. (#4921, #4858) 2022-01-27 17:46:48 +01:00
imgui_impl_win32.h Backends: Win32: Update to use io.AddEventKey() will full key map (#2625, #4858) 2022-01-10 15:11:54 +01:00