Commit graph

28 commits

Author SHA1 Message Date
saschawillems
1309ee0ef9 Moved tool functions to vks namespace (Refs #260) 2017-02-12 13:10:05 +01:00
saschawillems
b31d773b93 Moved Initializers to vks namespce (Refs #260) 2017-02-12 11:12:42 +01:00
saschawillems
776b6f0106 Moved VulkanBuffer to vks namespce (Refs #260) 2017-02-12 10:44:51 +01:00
saschawillems
70f4daff5d Moved VulkanDevice to vks namespce (Refs #260) 2017-02-12 10:16:07 +01:00
saschawillems
80fbf5edac Fix validation warning for textoverlay attachment clear values 2017-02-04 15:53:35 +01:00
saschawillems
9051af4502 Use new texture and model classes, fragment shader inputs (Refs #277) 2017-02-04 15:00:45 +01:00
saschawillems
ff643e5e48 Fixed compiler warnings (Refs #183) 2017-02-04 14:37:55 +01:00
saschawillems
9a59b24c8d Use swapchain colorformat instead of fixed format (Refs #238, Fixes #254) 2017-01-25 18:54:09 +01:00
saschawillems
2e5af6a9fb Replaced vkTools::UniformData with newer vk::Buffer for uniform buffers, some renaming, small fixes and corrections 2016-12-24 12:48:01 +01:00
saschawillems
fac6524564 Replaced main entry points with macro from example base 2016-12-13 19:25:56 +01:00
Shi Yan
9b5127f894 add direct to display wsi swapchain option
direct to display swapchain needs to be enabled at compile time with option -DUSE_D2D_WSI=ON

currently tested under linux
2016-11-04 14:04:34 -07:00
saschawillems
81fc142053 Use allocation size returned by image memory requirements for font image (Fixes #217) 2016-08-22 12:57:40 +02:00
saschawillems
2f8c9477f2 Fold attachment layout transitions into subpass (Refs #155) 2016-08-12 20:36:49 +02:00
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