omar
770c995365
Backends: Vulkan: Removed unused shader code. Fix leaks. Avoid unnecessary pipeline creation for main viewport. Amend 41e2aa2
. ( #3459 ) + Add ImGui_ImplVulkanH_CreateWindowSwapChain in ImGui_ImplVulkanH_CreateOrResizeWindow().
ago%!(EXTRA string=5 years)
Michel Lesoinne
41e2aa2e7a
Backends: Vulkan: Separate the pipeline of the dear imgui created windows from the one created with the user's render-pass. ( #3455 , #3459 )
...
This is mostly for the benefit of multi-viewports.
ago%!(EXTRA string=5 years)
ocornut
a056603d8b
Backends: Vulkan: Rename internal helper ImGui_ImplVulkanH_CreateWindow to ImGui_ImplVulkanH_CreateOrResizeWindow
ago%!(EXTRA string=5 years)
omar
cc0e43e631
Backends: Comments next to include, misc minor comments/tweaks, fix imgui_impl_osx.h using IMGUI_API instead of IMGUI_IMPL_API. ( #3105 )
ago%!(EXTRA string=5 years)
OmarEmaraDev
00927105ba
Backends: Include imgui.h in implementation headers. ( #3105 )
...
Currently, the implementation headers don't include the imgui.h header.
Which means that the compilation will fail if the implementation header
was included before the imgui.h header in the compilation unit. For
instance, a compilation unit with the following will work:
#include "imgui.h"
#include "imgui_impl_glfw.h"
#include "imgui_impl_opengl3.h"
But a compilation unit with the following will fail because IMGUI_IMPL_API
and possibly other symbols will not be defined:
#include "imgui_impl_glfw.h"
#include "imgui_impl_opengl3.h"
#include "imgui.h"
This patch includes imgui.h in the implementation headers to make
inclusions order-invariant, which is a recommended practice.
ago%!(EXTRA string=5 years)
omar
ca63349eb4
Renamed XX-bits -> XX-bit in comments to match what the world appears to be using.
ago%!(EXTRA string=6 years)
Rokas Kupstys
6892b81578
Remove trailing spaces from bunch of files.
...
(cherry picked from commit 50e0f8d4ddf4c426f62f346c8260a927f6b7c779)
ago%!(EXTRA string=6 years)
Vilya Harvey
62143dff64
Backends: Vulkan: Added support for specifying multisample count. ( #2705 , #2706 )
ago%!(EXTRA string=6 years)
omar
b3dd03f582
Examples/Backends: DirectX9/10/11/12, Vulkan, OpenGL3 (Desktop GL only): Added support for large meshes (64k+ vertices) with 16-bits indices, enable 'ImGuiBackendFlags_HasVtxOffset' config flag in back-end. ( #2591 )
ago%!(EXTRA string=6 years)
omar
e099a7dc74
Vulkan: Bits. Using IM_ALLOC/IM_FREE instead of new[] / delete[].
ago%!(EXTRA string=6 years)
omar
d61caf5714
Vulkan, Viewports: ImGui_ImplVulkan_RenderDrawData and renderer back-end automatically manage ImGui_ImplVulkanH_WindowRenderBuffers for each viewports so user doesn't have to do it. ( #2461 , #2348 , #2378 , #2097 )
ago%!(EXTRA string=6 years)
omar
452047c7ca
Vulkan: Removed requirement for user to pass their own render buffer storage to ImGui_ImplVulkan_RenderDrawData(), this is managed internally.
ago%!(EXTRA string=6 years)
omar
ec76722d2d
Vulkan: Added ImageCount to InitInfo structure (!= MinImageCount) will be needed for viewports. Renamed FramesQueueSize -> ImageCount. ( #2472 , #2071 )
ago%!(EXTRA string=6 years)
MindSpunk
a45840746e
Vulkan, Viewports: Fix for resizing viewport windows crashing. ( #2472 )
ago%!(EXTRA string=6 years)
MindSpunk
9acb158990
Vulkan, Viewports: Fix for resizing viewport windows crashing. ( #2472 )
ago%!(EXTRA string=6 years)
omar
01de69de36
Vulkan: Note for unsupported feature with multi-viewports. ( #2071 )
ago%!(EXTRA string=6 years)
omar
8ec24036d7
Vulkan: Viewports: Removed redundant field.
ago%!(EXTRA string=6 years)
omar
0034e65c26
Vulkan: Renaming demo/helper structures. Tidying up examples main.cpp.
ago%!(EXTRA string=6 years)
omar
4f54a527ab
Vulkan: Renaming, we want InitInfo to source MinImageCount which is the "source" value (so viewport creation can use this). Made ImGui_ImplVulkan_DestroyFrameRenderBuffers public. ( #2071 )
ago%!(EXTRA string=6 years)
omar
66f4be2e13
Vulkan: Added extra parameter to ImGui_ImplVulkan_RenderDrawData(). User is in charge of owning/storing 1 ImGui_ImplVulkan_FrameRenderBuffers per in-flight rendering frame. Removed ImGui_ImplVulkan_SetFramesQueueSize. ( #2461 , #2348 , #2378 , #2097 , #2071 , #1677 )
ago%!(EXTRA string=6 years)
omar
6bf981c85c
Vulkan: More renaming. Comments.
ago%!(EXTRA string=6 years)
omar
f586764cdd
Examples: Vulkan: Merged helpers into ImGui_ImplVulkanH_CreateWindowData. Removed ImGui_ImplVulkan_InvalidateFrameDeviceObjects from API. Comments. ( #2071 )
ago%!(EXTRA string=6 years)
omar
54b8a65d9e
Examples: Vulkan: Renamed QueuedFramesCount to FramesQueueSize. Moved Framebuffer, Backbuffer to FrameData structure. ( #2071 )
ago%!(EXTRA string=6 years)
omar
317859a3da
Examples: Vulkan: Updated Changelog, removed debug code, tweaked code, made GLFW/SDL match each others. Initialize FrameDataForRender fields. Added Assertion. Clearing fields on DestroyFrameData(). ( #2071 )
ago%!(EXTRA string=6 years)
omar
c7eef99a33
Examples: Vulkan: Fixed tabs->space, removed extraneous braces and empty lines. ( #2071 )
ago%!(EXTRA string=6 years)
MindSpunk
b88a3b2711
Examples: Vulkan: Added calls to supports runtime changing back buffer count. ( #2071 )
ago%!(EXTRA string=6 years)
omar
fc52364652
Tabs to Spaces, comments.
ago%!(EXTRA string=6 years)
omar
2c38b32db1
Removed trailing spaces ( #2038 , #2299 )
ago%!(EXTRA string=6 years)
Michał Janiszewski
2e6e1bec58
Examples: Add missing include guards ( #2166 )
ago%!(EXTRA string=7 years)
omar
1afd29d382
Examples: Using "dear imgui" terminology in all examples headers/comments + fix minor typo.
ago%!(EXTRA string=7 years)
omar
1b61b6b208
Examples: Vulkan: Minor tweaks.
ago%!(EXTRA string=7 years)
omar
7268c65d73
Examples: imgui_impl_vulkan: Comments (re)
ago%!(EXTRA string=7 years)
omar
3fdfac3377
Examples: imgui_impl_vulkan: Comments
ago%!(EXTRA string=7 years)
omar
7b2662d245
Examples: Comments, bits of documentation
ago%!(EXTRA string=7 years)
omar
d68633398b
Examples: Vulkan: nverted the parameters to ImGui_ImplVulkan_RenderDrawData() to be consistent with other bindings.
ago%!(EXTRA string=7 years)
omar
cac4c3f9b8
Examples: The functions in imgui_impl_xxx.cpp are prefixed with IMGUI_IMPL_API (which defaults to IMGUI_API) to facilitate some uses. ( #1888 ) + Comments in imgui.h
ago%!(EXTRA string=7 years)
omar
7acb46bec5
Examples: Comments to make ImGuiConfigFlags_NoMouseCursorChange more visible ( #1027 ). + Allegro5: Added support for ImGuiConfigFlags_NoMouseCursorChange flag.
ago%!(EXTRA string=7 years)
omar
85f9694bd4
Big example binding refactor (manually imported from Viewport branch, stripped out of Viewport code). ( #1870 )
...
Read examples/README.txt for some details.
ImDrawData: Added DisplayPos, DisplaySize fields honored by all backends (not strictly necessary to honor just now, but doing it to be ahead)
ago%!(EXTRA string=7 years)
omar
7ddc22b326
Viewports, DPI: Renamed config flags. ( #1542 )
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
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
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
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
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)