14 Commits (06aa9d8d9a0e4724b3b79ee1154a41f38a197387)

Author SHA1 Message Date
omar e3e4b7bdf5 Viewport: Fixed mouse hover flicker on mouse button release frame after moving a window. (#1542) ago%!(EXTRA string=7 years)
omar 423577e14e Viewport, Platforms: SDL: Fixed initial focus click being ignored as a mouse button. GLFW: Fixed mouse cursor support for multi-viewport with GLFW 3.3 (current master) - somehow doesn't appear to work with GLFW 3.2 but I'm not too fussed about it. (#1542) ago%!(EXTRA string=7 years)
omar 7ddc22b326 Viewports, DPI: Renamed config flags. (#1542) ago%!(EXTRA string=7 years)
omar d4dd448511 Examples, Platform, Viewport: Fixed inconsistent window ownership issues. Added comments. Made Win32/SDL back-ends track ownership. ago%!(EXTRA string=7 years)
omar 2fecd332fc Viewport, Platform: Added void* to render/swap buffer functions. Comments. (#1542, #1042) ago%!(EXTRA string=7 years)
omar 0e09032750 Viewport, Examples: Renamed types used by examples. (#1542) ago%!(EXTRA string=7 years)
omar 46b61427e1 Viewport, Platform: Refactored platform interface. Removed need to use imgui_internal.h in backends. Split viewport into public facing ImGuiViewport and internal structure. Exposing enough data to provide custom tweaked renderers. Renamed handlers, fixed lots of inconsistencies. (#1542, #1042) ago%!(EXTRA string=7 years)
omar 8364d1ca6c Viewport: Removed back-end renderer code that implied we need to clear with WindowBg color. Added NoRendererClear flag. (#1542, #1042) ago%!(EXTRA string=7 years)
omar 9dcc07422e Viewport: Reorganized viewport enable flags. Both user + platform + renderer need to enable a flag. (#1542) ago%!(EXTRA string=7 years)
omar e026c8d3b7 Viewport: Give a chance to platform and renderer to actually destroy their data. Otherwise the regular ImplXXX_Shutdown + following by DestroyContext() order fails to fullifl this. (#1542) ago%!(EXTRA string=7 years)
omar e9fa17e1bf Viewport: Replaced UpdatePlatformWindows/RenderPlatformWindows by RenderAdditionalViewports(). The update is always called in EndFrame(). (#1542) ago%!(EXTRA string=7 years)
omar baef79415b Examples: DX12: Empty skeleton toward implementing the multi-viewport api for DirectX12. (WIP/test API) (#1542, #301) ago%!(EXTRA string=7 years)
omar ffda84cfae Examples: DirectX12: Merged to new example format, imgui_impl_dx12.cpp contains the DX12 stuff, couple with imgui_impl_win32.cpp ago%!(EXTRA string=7 years)
omar 288351a801 Examples: DirectX12: Tweaked assertion to more accurately represent what it wants to say. (#301) ago%!(EXTRA string=7 years)
omar 9be7d048c8 Examples: DirectX12: Merge, various styling tweaks, update for 1.60 wip, synchronized Win32 features with other examples. (#301) ago%!(EXTRA string=7 years)
Jefferson Montgomery 3fd5790814 Pass render target format in ImGui_ImplDX12_Init() instead of hard-coded. ago%!(EXTRA string=8 years)
Jefferson Montgomery f6b6dace9e Pass command list in using ImGui_ImplDX12_NewFrame() instead of ImGui_ImplDX12_Init() ago%!(EXTRA string=8 years)
Jefferson Montgomery f6181b3428 Examples: DirectX12: Add directx12_example ago%!(EXTRA string=9 years)