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
6e58a95a01
Viewport, Platform, Examples: Changes to resizing flow + restored support for Platform events affecting the ImGui windows (so Decorated windows are functional). ( #1542 , #1042 ) ..
...
SDL: Added platform move/resize/close support.
GLFW: Added platform move/resize support. Moved Close to use callback for consistency.
Win32:
Vulkan: Fixed resize support.
Naming is WIP "PlatforrmRequestXXX" is too ambiguous. Basically we either have a ImGui->Platform flow or a Platform->ImGui flow. Working a bigger refactor now.
ago%!(EXTRA string=7 years)
omar
d0e0b106f0
Examples: SDL,GLFW,Vulkan: The Platform<>Renderer link is handled by SDL/GLFW platforms, both can compile without Vulkan headers, SDL+Vulkan is now on part with GLFW+Vulkan (aka broken the same way!). ( #1542 )
ago%!(EXTRA string=7 years)
omar
98b66a5fc9
Examples: Using draw_data->DisplaySize, followup to c50198debe
. Fix Vulkan secondary viewport rendering. SDL+Vulkan: Matched changes. Fix vcprojs. ( #1542 , #1042 )
ago%!(EXTRA string=7 years)
omar
c50198debe
Viewport: Obsoleted io.DisplayPos (which was a Viewport branch thing), added ImDrawData::DisplayPos, DisplaySize ( #1542 ) wip
ago%!(EXTRA string=7 years)
omar
b88492746e
Examples, Viewport: Vulkan: Experiment (broken) multi-viewport support, merging code from ParticlePeter branches. ( #1542 , #1042 )
ago%!(EXTRA string=7 years)
omar
cdeef65b05
Examples: Vulkan: Passing Queue, QueueFamily to binding. Fixed scissor (fixed in master). ImGui_ImplVulkanH_DestroyWindowData() waits for device to be idle. ( #1042 )
ago%!(EXTRA string=7 years)
omar
1eb89d7e3b
Viewport: Changed signature of ResizeViewport to be consistent with other similar functions.
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
cab41d954e
Examples: Vulkan: Further refactor.
ago%!(EXTRA string=7 years)
omar
e0cbfd74d7
Examples: Vulkan: Moved CreateOrResizeWindowData func to imgui_impl_vulkan.h
ago%!(EXTRA string=7 years)
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.
ago%!(EXTRA string=7 years)
omar
e927a6ac4a
Examples: Vulkan: Various tweak. Misc refactor into per-frame data. Duplicate buffer creation code moved to CreateOrResizeBuffer().
ago%!(EXTRA string=7 years)
omar
9da475e4e8
Examples: GLFW, Vulkan: GLFW binding viewport tweaks to supports Vulkan better (do not call SwapBuffer, share context etc.). Added DUMMY (empty) platform/viewport interface in the viewport code.
ago%!(EXTRA string=7 years)
omar
296db2ed33
Examples: Vulkan: Moved code into shared helpers: ImGui_ImplVulkan_SelectSurfaceFormat, ImGui_ImplVulkan_SelectPresentMode.
ago%!(EXTRA string=7 years)
omar
3171d61dfc
Examples: Vulkan: Various tweaks to name variable more consistently like Vulkan + a few comments + a few imgui style code compaction.
ago%!(EXTRA string=7 years)
omar
f7ef10e547
Examples: Titles/comments in headers
ago%!(EXTRA string=7 years)
omar
df9051ded2
Examples: Vulkan: Added support for io.DisplayPos.
ago%!(EXTRA string=7 years)
omar
90dffb5a06
Examples: Vulkan: Extracted into imgui_impl_vulkan.*, reused imgui_impl_glfw* files.
ago%!(EXTRA string=7 years)
omar
243fd67b1c
Examples: Vulkan: Fix for empty draw data (init time) + fixed warning.
ago%!(EXTRA string=7 years)
omar
63332d152a
Obsoleted the io.RenderDrawListsFn callback, you can call your graphics engine render function after ImGui::Render(). Use ImGui::GetDrawData() to retrieve the ImDrawData* to display..( #1599 )
...
Examples: Updated examples.
ago%!(EXTRA string=7 years)
omar
0cefd40888
Examples: Added Changelog to make updates easier.
ago%!(EXTRA string=7 years)
omar
057807f4a7
Added ImGuiKey_Space, mapped in every examples. Will be required for navigation. ( #787 )
ago%!(EXTRA string=7 years)
omar
73d493c780
Examples: Organized header files to make available features more visible.
ago%!(EXTRA string=7 years)
omar
6a25a8720a
Examples: Using #include "imgui.h" instead of <imgui.h> appear correct-er as per standard? xcode+clang are very nitpicky there.
ago%!(EXTRA string=7 years)
omar
66d5712a8a
Examples: Vulkan: FIxed warnings in 32-bit modes (vulkan uses VkDeviceSize which is always 64-bit long)
ago%!(EXTRA string=7 years)
omar
d3e826c247
Examples: Updated for reorganized context functions. Calling CreateContext(), DestroyContext() in example code. Removed Shutdown() from binding code. ( #1565 , #586 , #992 , #1007 , #1558 )
ago%!(EXTRA string=7 years)
omar
7e7c017b75
Examples: Simplified mouse wheel handling. ( #1463 )
ago%!(EXTRA string=7 years)
omar
7dea158175
Examples: Allegro, Apple, DirectX9/10/11, Glfw+Vulkan :Added support for horizontal mouse wheel. ( #1463 )
ago%!(EXTRA string=7 years)
omar
ce95b84825
Added ImGuiKey_Insert for future use. Setup in all example bindings. ( #1541 )
ago%!(EXTRA string=7 years)
omar
9f8632b131
Examples: Comments about invalid mouse pos.
ago%!(EXTRA string=7 years)
omar
fba704bf5d
Examples: Added a bunch of comments/referencs related to io.WantCaptureMouse, io.WantCaptureKeyboard ( #1262 , #1237 , #1219 , #635 , #1058 , #1051 , #912 , #533 , #703 , #446 , #459 , #364 , #213 , #52 , and more)
ago%!(EXTRA string=8 years)
omar
92a6faca6f
IO: io.MousePos needs to be set to ImVec2(-FLT_MAX,-FLT_MAX) when mouse is unavailable/missing. Previously ImVec2(-1,-1) was enough but we'll now accept negative mouse coordinates.
ago%!(EXTRA string=8 years)
omar
b0db625cab
Examples: Vulkan: Fixed an extra validation (tested on Windows with VulkanSDK 1.0.46.0) ( #1042 )
ago%!(EXTRA string=8 years)
saschawillems
4da26d85cd
Clip negative scissor offsets to zero
ago%!(EXTRA string=8 years)
saschawillems
12deb53b11
Set required depth member for buffer image copy
ago%!(EXTRA string=8 years)
Marcell Kiss
e0244c8f62
Fix scissor offset being negative
ago%!(EXTRA string=8 years)
Marcell Kiss
509df3e279
Fix new Vulkan validation warnings
ago%!(EXTRA string=8 years)
Håvard Mathisen
08ef9819c8
Vulkan example: Fix validation layer warnings and errors and redeclare gl_PerVertex.
ago%!(EXTRA string=9 years)
ocornut
55863dd274
Examples: Vulkan: Shallow stylistic changes (following #879 )
ago%!(EXTRA string=9 years)
Marcell Kiss
53126cd713
Add location decorators & change to use structs as in/out in glsl, update embedded spv (produced with glslangValidator -x)
ago%!(EXTRA string=9 years)
Marcell Kiss
44250caf50
Null the released resources
ago%!(EXTRA string=9 years)
ocornut
0d3f8807c7
Added a void* user_data parameter to Clipboard function handlers. ( #875 )
ago%!(EXTRA string=9 years)
ocornut
2825eaa0be
Examples: Accessing ImVector fields directly, feel less stl-ey and fix renderer side assert when render list only contains a callback ( #810 )
ago%!(EXTRA string=9 years)
Håvard Mathisen
99b4f951b9
Fix Vulkan example for use when a depth buffer is active.
ago%!(EXTRA string=9 years)