omar
|
13a3a2d0f3
Merge branch 'examples_refactor2' into viewport (#1870)
|
7 years ago |
omar
|
85f9694bd4
Big example binding refactor (manually imported from Viewport branch, stripped out of Viewport code). (#1870)
|
7 years ago |
omar
|
8c374512fd
Examples, Platform: Removed the call to ImGui::NewFrame() from the platform _NewFrame() function e.g. ImGui_ImplWin32_NewFrame(), ImGui_ImplSDL2_NewFrame(), ImGui_ImplGlfw_NewFrame(), etc. Moved to main.cpp for consistency. (#1542)
|
7 years ago |
omar
|
77d51ebf24
Examples: Added .. folder in include path to remove the awkward #include "../imgui_impl_xxx.h" statements.
|
7 years ago |
omar
|
7ddc22b326
Viewports, DPI: Renamed config flags. (#1542)
|
7 years ago |
omar
|
0d5042f0f3
Viewport: Popups, Tooltips can individually request no task bar icons to the platform layer. (#1542)
|
7 years ago |
omar
|
9d8bc79025
Viewport: Renamed RenderPlatformWindows() to RenderPlatformWindowsDefault(), tweaked examples and emphasis optional Viewport code path. (#1542)
|
7 years ago |
omar
|
172570acae
Merge branch 'master' into viewport
|
7 years ago |
omar
|
2fecd332fc
Viewport, Platform: Added void* to render/swap buffer functions. Comments. (#1542, #1042)
|
7 years ago |
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)
|
7 years ago |
omar
|
98b66a5fc9
Examples: Using draw_data->DisplaySize, followup to c50198debe4978853f3f8ed6e84a7b2685991c06. Fix Vulkan secondary viewport rendering. SDL+Vulkan: Matched changes. Fix vcprojs. (#1542, #1042)
|
7 years ago |
omar
|
b88492746e
Examples, Viewport: Vulkan: Experiment (broken) multi-viewport support, merging code from ParticlePeter branches. (#1542, #1042)
|
7 years ago |
omar
|
cdeef65b05
Examples: Vulkan: Passing Queue, QueueFamily to binding. Fixed scissor (fixed in master). ImGui_ImplVulkanH_DestroyWindowData() waits for device to be idle. (#1042)
|
7 years ago |
omar
|
4d46383100
Viewport: Coupling non-main viewport to one window. Viewport name derived from the window. Added ImGuiConfigFlags_PlatformNoTaskBar, off by default (aka re-established task-bars by default for now). (#1542)
|
7 years ago |
omar
|
9dcc07422e
Viewport: Reorganized viewport enable flags. Both user + platform + renderer need to enable a flag. (#1542)
|
7 years ago |
omar
|
cab41d954e
Examples: Vulkan: Further refactor.
|
7 years ago |
omar
|
e0cbfd74d7
Examples: Vulkan: Moved CreateOrResizeWindowData func to imgui_impl_vulkan.h
|
7 years ago |
omar
|
426930e028
Examples: Vulkan: Moved main.cpp data structures to imgui_impl_vulkan.h as shared helpers for the benefit of both the example and the platform/viewport renderer interface.
|
7 years ago |
omar
|
e9fa17e1bf
Viewport: Replaced UpdatePlatformWindows/RenderPlatformWindows by RenderAdditionalViewports(). The update is always called in EndFrame(). (#1542)
|
7 years ago |
omar
|
7113fc7dee
Examples: Vulkan: Moved variables into per-window data, refactored/tweaks to that the bug functions main.cpp for both SDL and GLFW examples match (they'll probably be moved to imgui_impl_vulkan as helpers).
|
7 years ago |
omar
|
e0f283cfcb
Examples: Vulkan: Fix 7b968b098eeb1e162504d42183ca6618568e859c
|
7 years ago |
omar
|
7b968b098e
Examples: Vulkan: Reduced duplicate code by skipping present on the first frame. Amend 201d589714c6ef7ff40c87140818a2208b8686b7 by @ParticlePeter
|
7 years ago |
omar
|
e927a6ac4a
Examples: Vulkan: Various tweak. Misc refactor into per-frame data. Duplicate buffer creation code moved to CreateOrResizeBuffer().
|
7 years ago |
omar
|
fc80f2b41a
Merge branch 'examples_refactor' into viewport
|
7 years ago |
omar
|
68e9ef9885
Examples: Vulkan: SDL: Fixed missing resize handler (not properly merged from #1367) + tweaks.
|
7 years ago |
omar
|
296db2ed33
Examples: Vulkan: Moved code into shared helpers: ImGui_ImplVulkan_SelectSurfaceFormat, ImGui_ImplVulkan_SelectPresentMode.
|
7 years ago |
omar
|
3171d61dfc
Examples: Vulkan: Various tweaks to name variable more consistently like Vulkan + a few comments + a few imgui style code compaction.
|
7 years ago |
omar
|
57e9f61852
Examples: Vulkan: Debug report tweak + always enable in Debug build.
|
7 years ago |
omar
|
cf365ed00b
Examples: Fixed enabling IMGUI_VULKAN_DEBUG_REPORT which was broken during refactor because of duplicate 'extensions' local variable.
|
7 years ago |
omar
|
d98a5d54aa
Renamed ImGuiNavFlags io.NavFlags to ImGuiConfigFlags io.ConfigFlags. (#787)
|
7 years ago |