Commit graph

335 commits

Author SHA1 Message Date
saschawillems
a9f280016f Overload for getMemoryType (return type index) 2016-05-11 20:19:01 +02:00
Sascha Willems
59fbf41e31 Merge pull request #147 from TheBB/multisampling-voyager-ext
Fix asset filename in multisampling
2016-05-10 20:51:47 +02:00
Eivind Fonn
d4cded472e multisampling: fix asset path 2016-05-10 20:40:54 +02:00
saschawillems
9fef8fa042 Use result check macro instead of function 2016-05-08 11:40:25 +02:00
saschawillems
ea084fccc3 Staging, optimizations and code cleanup for mesh loading example 2016-05-08 11:30:04 +02:00
saschawillems
035a5ab560 Macro for checking and displaying Vulkan results 2016-05-08 11:18:39 +02:00
saschawillems
63900a9e06 Added text overlay example to readme 2016-05-07 16:29:56 +02:00
saschawillems
4bef4ca134 Added text overlay example to cmake and android build 2016-05-07 15:59:08 +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
b501b915ac Android function pointers 2016-05-05 15:32:21 +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
Sascha Willems
381cd1c733 Updated example base header (Fixes #144) 2016-05-04 11:44:27 +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
saschawillems
908ef3765c Assign destWidth and destHeight before starting render loop to avoid unnecessary resize on windows, store last fps count 2016-05-03 21:22:45 +02:00
saschawillems
ede809ec31 Removed unnecessary duplicate vertex attribute binding point index (Fixes #143) 2016-05-02 19:11:12 +02:00
saschawillems
edb5cc794e Delete meshes in destructor (Fixes #122) 2016-04-30 12:02:48 +02:00
saschawillems
a774cda58d Set vertex input state flags to zero 2016-04-30 11:51:35 +02:00
saschawillems
8ee2687ced Initializers for attachment descriptions 2016-04-30 10:45:39 +02:00
Sascha Willems
81af6fe108 Merge pull request #139 from baldurk/multithreading-race-condition-fix
Fix race condition where 'visible' result is checked before job finishes
2016-04-29 22:03:29 +02:00
saschawillems
ab26d105da Copy texture data from buffer instead of linear image and some small fixes and code cleanups (#140) 2016-04-29 21:49:37 +02:00
baldurk
34292dd547 Fix race condition where 'visible' result is checked before job finishes 2016-04-24 13:14:48 +02:00
saschawillems
23a15ca52b Explicitly set line width for rasterization state create info (validation error with newer layers) 2016-04-24 13:00:48 +02:00
saschawillems
ab8be6731b Check tessellation support 2016-04-24 10:30:45 +02:00
saschawillems
561cb78720 Store physical device features in example base class 2016-04-24 10:28:27 +02:00
saschawillems
568161362c Use collada mesh for push constants example 2016-04-24 10:13:37 +02:00
Sascha Willems
9ac4383c46 Merge pull request #138 from d3x0r/Fix_MSVC_Build
CMAKE_CXX_FLAGS is overwritten when later adding /Esc option.
2016-04-22 08:08:50 +02:00
d3x0r
6a7dc1b9c3 CMAKE_CXX_FLAGS is overwritten when later adding /Esc option. 2016-04-21 13:36:01 -07:00
saschawillems
272132a2a4 Corrected attribute binding format, lowered particle count for android 2016-04-21 22:02:22 +02:00
saschawillems
a8bdba8e3a Cleanup 2016-04-21 21:14:34 +02:00
saschawillems
275fb5e23f Changed staging to use common base functionality 2016-04-21 21:01:18 +02:00
saschawillems
7098fc19a4 Reverted some functions from PR#137 (replaced by different base functionality) 2016-04-21 20:57:02 +02:00
saschawillems
77bb8cf68b Corrected memory property flag for staging target buffer 2016-04-21 20:56:04 +02:00
Sascha Willems
581a043620 Merge pull request #137 from Voultapher/master
Visual Update for computeparticles
2016-04-21 20:31:31 +02:00
Voultapher
5d7014b221 Visual Update for computeparticles
Instead of using a small amount of large textured particles, use a large
amount of small monochrome particles.
Which uses a new vulkanexamplebase functionality of creating and
updating a only device visible buffer via a temporary staging buffer.
2016-04-21 11:21:48 +02:00
saschawillems
eb428db92d Feee copy command buffer (Fixes #135) 2016-04-18 20:52:29 +02:00
saschawillems
6d54900c4d Corrected usage flag for instancing buffer 2016-04-17 13:51:16 +02:00
saschawillems
0463d5b1e3 Updated description and screenshot for instancing example 2016-04-17 12:44:31 +02:00
saschawillems
8e2115a0d4 Updated instancing example, using instanced attributes (instead of one big ubo), staging, new meshes, etc. 2016-04-17 12:30:42 +02:00
saschawillems
3faee12381 Pointer to mapped host memory for uniform data 2016-04-17 11:23:56 +02:00
saschawillems
884916e083 New mesh and array texture for instancing example 2016-04-16 16:51:23 +02:00
saschawillems
2e72dce7af Additional buffer and command buffer functions in base class 2016-04-16 14:42:41 +02:00
saschawillems
267b78f9fc Android fps log output 2016-04-15 21:24:50 +02:00
saschawillems
def86e02f0 Check debug message callback against VK_NULL_HANDLE (fixes defunct android build) 2016-04-15 20:57:34 +02:00
saschawillems
343a25cbed Small raytracing shader performance changes 2016-04-12 20:28:46 +02:00
Sascha Willems
f44afda9ab Added window resize for XCB (Fixes #105) 2016-04-11 19:44:03 +02:00
saschawillems
23f3eb0170 Window resize (#105) 2016-04-10 11:12:04 +02:00