Commit graph

12 commits

Author SHA1 Message Date
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