Commit graph

20 commits

Author SHA1 Message Date
Sascha Willems
91958acad2 Only destroy ImGui context of != null
Fixes #911
2021-12-15 19:32:47 +01:00
Rajnesh Kanwal
774bb42ceb Fixes memory leak due to ImGui context not being destroyed. 2021-12-04 15:35:07 +00:00
Sascha Willems
fcb0a2a46a Load UI overla font from asset path
Refs #627
2020-02-17 21:09:43 +01:00
Sascha Willems
cf83c1b499 Nicer font for ImGui overlay 2019-02-20 20:57:38 +01:00
saschawillems
e9c4cd4a0b Optimized UI overlay strategy 2018-09-01 12:58:28 +02:00
saschawillems
69c3f62b9a Streamlined UI overlay, code cleanup
Refs #496
2018-08-31 21:15:43 +02:00
saschawillems
8a61105ec6 Reworked UI overlay class (no longer using separate render pass + submits)
Updated to support ImGui 1.62
Refs #496
2018-08-29 20:49:13 +02:00
saschawillems
478aae0548 Allow override of target subpass for UI overlay 2018-07-15 21:13:32 +02:00
Jason Ekstrand
af8d280e42 VulkanUIOverlay: Use the correct initial layout
Using an initial layout of VK_IMAGE_LAYOUT_UNDEFINED together with
VK_ATTACHMENT_LOAD_OP_LOAD means that the render pass starts off with
completely undefined contents.  Since we want to draw the overlay on top
of the previously rendered image, we want to use a real layout.  Since
the calling code has already transitioned to VK_IMAGE_LAYOUT_PRESENT_SRC_KHR,
that's the layout we need to use.

This was never caught by validation because VK_IMAGE_LAYOUT_UNDEFINED is
the one layout you're allowed to use as an initial layout at any time
regardless of the image's current layout.
2017-11-21 17:31:35 -08:00
saschawillems
b7d2dbced4 Pass updated frame buffers on resize 2017-11-03 16:35:38 +01:00
saschawillems
4e5d95c098 UI overlay creation via create info structure with additional customization options 2017-11-03 11:17:09 +01:00
saschawillems
5795a77e7b Android UI overlay touch handling 2017-11-02 17:07:07 +01:00
saschawillems
2f9515466a UI overlay resizing 2017-11-01 15:19:28 +01:00
saschawillems
a5e2ad091f Release ui overlay Vulkan resources 2017-11-01 15:18:46 +01:00
saschawillems
570750c16f return value float slider 2017-11-01 14:12:14 +01:00
saschawillems
853b318848 UI scale, combo box dropdown item count 2017-10-31 23:09:42 +01:00
saschawillems
3b11701eb2 Additional UI overlay widget creation functions 2017-10-31 11:52:48 +01:00
saschawillems
287a9b5762 UI overlay float slider 2017-10-30 18:02:51 +01:00
saschawillems
15f85d6e10 Designated UI overlay widget creation functions (wrapping ImGui calls) 2017-10-30 12:37:36 +01:00
saschawillems
f6af0bde03 Replaced text overlay with proper (imgui based) UI overlay class 2017-10-29 11:41:43 +01:00