Commit graph

15 commits

Author SHA1 Message Date
Laurent Carlier
6b259a22e8 Use keycodes intead of hardcoded values
Signed-off-by: Laurent Carlier <lordheavym@gmail.com>
2016-08-11 14:24:32 +02:00
saschawillems
d414849e23 Use VulkanDevice 2016-07-23 23:44:26 +02:00
saschawillems
dbf80b217c Use undefined initial image layout (fixes #187), added missing layout transition for compute texture target in ray tracing example 2016-06-22 20:30:14 +02:00
saschawillems
037804f3b9 Updated draw functions using base class frame prepare and submit 2016-06-21 21:55:31 +02:00
Nanley Chery
4ab62cb04b Fix clear value array in textoverlay
According to section 7.4. Render Pass Commands of the Vulkan spec,
VkRenderPassBeginInfo::pClearValues is indexed by attachment number.
Since the second attachment in the renderpass will be cleared, a clear
value array of length two is required, and the second element of that
array must be assigned the desired clear value.
2016-05-23 15:16:59 -07:00
Petros Bantolas
0060ae151f Fix textoverlay demo to use correct allocation size.
textoverlay was previously using a custom allocationSize for the font
texture. Changed that to use vkGetImageMemoryRequirements.
2016-05-17 15:42:29 +01:00
saschawillems
5f80f49153 Renamed text overlay class to avoid collision with base class 2016-05-15 13:33:57 +02:00
saschawillems
9fef8fa042 Use result check macro instead of function 2016-05-08 11:40:25 +02:00
saschawillems
8de82e8d0c Coordinates for unit cube text overlay display 2016-05-07 15:36:39 +02:00
saschawillems
b39d589c86 Added backgdrop, object and more text to text overlay example 2016-05-07 12:37:12 +02:00
saschawillems
99ad677339 Corrected text char positioning, added text alignment 2016-05-05 20:52:46 +02:00
saschawillems
1d87aac565 Clean up Vulkan resources used by text overlay 2016-05-05 18:54:17 +02:00
saschawillems
6c2e04d1b0 Stage font image to optimal tiling 2016-05-05 14:42:41 +02:00
saschawillems
77d72742ea Pass references framebuffers and sizes as references to the text overlay, recreate command buffers on resize 2016-05-05 13:03:56 +02:00
saschawillems
bb0924480d Started work on a text overlay rendering example using a separate render pass for drawing on top of the current framebuffer 2016-05-03 22:38:57 +02:00