Commit Graph

7253 Commits (3d75f438bcc0228a720206f44674987d5ccd2a03)
 

Author SHA1 Message Date
omar 29269d2aa8 Merge branch 'vulkan_fix_master' into vulkan_fix_docking
# Conflicts:
#	examples/imgui_impl_vulkan.cpp
omar 0034e65c26 Vulkan: Renaming demo/helper structures. Tidying up examples main.cpp.
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. ()
omar 86f5945f49 Vulkan: Storing user info into a single g_VulkanInitInfo structure to simplify code.
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. (, , , , , )
omar 6bf981c85c Vulkan: More renaming. Comments.
omar f586764cdd Examples: Vulkan: Merged helpers into ImGui_ImplVulkanH_CreateWindowData. Removed ImGui_ImplVulkan_InvalidateFrameDeviceObjects from API. Comments. ()
omar 54b8a65d9e Examples: Vulkan: Renamed QueuedFramesCount to FramesQueueSize. Moved Framebuffer, Backbuffer to FrameData structure. ()
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(). ()
omar c7eef99a33 Examples: Vulkan: Fixed tabs->space, removed extraneous braces and empty lines. ()
MindSpunk b88a3b2711 Examples: Vulkan: Added calls to supports runtime changing back buffer count. ()
omar 43a85dd02e Merge branch 'master' into docking
omar 1c3311e4d6 Vulkan: Avoid passing negative coordinates to vkCmdSetScissor, which debug validation layers do not like.
omar 9ba64f9fe3 Viewport: Fixed PushClipRectFullScreen() missing out on negative coordinates. Among other things, the outer highlight during CTRL+Tab wouldn't appear in negative coordinates monitors. (~#2176, )
omar fc52364652 Tabs to Spaces, comments.
omar cdb109f617 Renamed freeglut vcxproj files + Comments, Changelog ()
Andrew Willmott ece322ff12 freeglut -> glut rename
Andrew Willmott 3fad375f5f ifdef freeglut extensions properly
Andrew Willmott 81f70e5b7c Fixups for OSX
Andrew Willmott a402f5b9a9 Add makefile for freeglut
omar 5c4cc370bb Examples: Vulkan: Added shader sources/references in the .cpp source.
omar 49fb8e6c45 Merge branch 'master' into docking
# Conflicts:
#	examples/imgui_impl_dx9.cpp
#	examples/imgui_impl_opengl3.cpp
omar 8dab7ac021 InputText: Made Shift+Tab consistently do nothing regardless of whether the back-end emits both char and keys or just keys. (, )
omar da035ced97 InputText, Examples/SDL: Emulate \t input if back-end doesn't provide it. (, )
+ Fix some output filename in SDL build batch files.
omar 01e29a3933 InputText: Fixed ImGuiInputTextFlags_AllowTabInput leading to two tabs characters being inserted if the back-end provided both Key and Character input. (, )
omar 4a57507f75 InputText: Work-around for buggy standard libraries where isprint('\t') returns true. (, )
Not using isprint. + todo items.
omar e3cd6b1cbb Examples: Vulkan: Using IM_ARRAYSIZE() where possible.
omar 3a737e665a Examples: Vulkan: Added missing support for 32-bit indices (#define ImDrawIdx unsigned int). + demo typo
Nicolas Noble d9568c717d Silencing -Wstack-protector ()
omar e21bbee311 Examples: DirectX9: Fixed erroneous assert in ImGui_ImplDX9_InvalidateDeviceObjects(). FreeType: Fixed suggested code to not require an initial build call.. ()
omar 163779da51 Examples: DirectX12: Various tidying up.
omar 512d39d031 Examples: OpenGL3: Minor tweaks, clarifications + not calling glBindBuffer more than necessary in the render loop.
omar 9bf6509c6e Docking: Fixed focus restore lagging by a frame when a tab stops being submitted. () Building on a little build of technical debt there, should transition toward a more general docking-agnostic system ()
omar 5af385ea78 Viewport: Renamed member + added note about a Docking issue with restoring focus.
omar 47219dd5c6 Docking: Remove code in BeginDocked() to set HiddenFramesCannotSkipItems based on upcoming tab bar selection, solely based on focus (might break something subtle?). Follow-up to c355ed1267. (, )
omar b6ae8a0dca Docking: Disable SkipItems when directly/programmatically focused (possible generalization of code currently in BeginDocked which relies on tab bar interaction, will remove that code in next commit). (, )
omar a33d45d7cd Merge branch 'master' into docking
# Conflicts:
#	docs/CHANGELOG.txt
#	imgui.cpp
omar 9a0e71a6ec Internals: Renamed the ImGuiWindow HiddenFrameXXX fields to decorrelate them from resizing behavior, as those values are set by other logic.
omar 5a665e423c Docking: Added ImGuiDockNodeFlags_NoTabBar (not exposed publicly). (, )
omar fc95da8aa3 Docking: Internals: Moved CentralNode and HiddenTabBar state into LocalFlags for consistency. (, )
omar fd5859ed04 Docking: Separating SharedFlags vs LocalFlags in dock node so settings can be applied to individual nodes. Made _NoResize logic on single node applies as expected. (, )
omar 75e3793f4d Docking: Fix DockBuilderAddNode() not storing flags when creating floating node.
omar 8d4b5fef1d Renamed ImGuiDockNodeFlags_Dockspace to ImGuiDockNodeFlags_DockSpace for consistency. DockBuilderCopyDockspace() to DockBuilderCopyDockSpace(). Made casing consistent elsewhere. ()
omar 04a9ce3a18 Docking: Renamed ImGuiDockNodeFlags_PassthruDockspace to ImGuiDockNodeFlags_PassthruCentralNode. + Comments, shallow tweaks. ()
omar 87883abd86 Docking: Tweak and silencing PVS studio static analyzer (back to zero warnings among our selected ones).
Tom Watson f20725eada Docking: Fixed an issue where windows docked into a node that's part of their dockspace wouldn't recover their order correctly after init. ()
(It only worked on floating dock node for the accidental reason that BeginDocked would generally early out on the first frame)
omar 26646f2450 Docking: Wrapping tab bar creation/destroy to make it easier to debug them.
omar f208fd7ebb Docking: Fixed crash with ImGuiDockNodeFlags_AutoHideTabBar flag. (, )
omar 20188b19d6 Comments () + Freeglut fixes ()
omar cf1b02e54e Rearrange code in UpdateMouseWheel(). (, ) + Fix old io.FontAllowUserScaling feature (probably should be made obsolete, but until then best fixed)