Commit graph

128 commits

Author SHA1 Message Date
saschawillems
75a6f46c4a Use Vulkan result check macro, removed unused functionality from tools and base class 2016-05-30 20:57:38 +02:00
saschawillems
a85dca7a15 Use Vulkan result check macro, compiler warnings 2016-05-30 20:44:49 +02:00
saschawillems
50a806130e Added debug marker region to text overlay command buffer 2016-05-28 12:35:20 +02:00
saschawillems
4dabec717b Debug marker functions naming 2016-05-28 12:00:43 +02:00
saschawillems
86d286b46e Replaced template for debug marker with functions (would not build with Android NDK and clang) 2016-05-22 20:29:03 +02:00
saschawillems
ae8f38d099 Use Vulkan result check macro, code cleanup, removed some warnings 2016-05-22 20:27:06 +02:00
saschawillems
dcca2db9df Partial merge branch 'add-debug-marker-use' of https://github.com/baldurk/Vulkan into baldurk-add-debug-marker-use (Refs #146) 2016-05-22 12:44:29 +02:00
saschawillems
3f06ef81fb Fixed Android gamepad dead zone check (avoids constant view updateds) 2016-05-21 15:20:07 +02:00
saschawillems
66f006b783 Mesh loader now does staging to device local memory by default (Refs #84) 2016-05-20 23:15:31 +02:00
saschawillems
d365b7ccd5 Overload for creating buffers with descriptor sets and passing memory type properties, use Vulkan result check macro 2016-05-20 21:19:43 +02:00
saschawillems
96df99f1f2 Fixing Android build error and warnings 2016-05-20 20:21:06 +02:00
saschawillems
a7a1a8aed4 Destroy debug callback (Fixes #15) 2016-05-19 22:21:57 +02:00
saschawillems
f78bd0dcd4 Win32: PostQuitMessage instead of exit on VK_ESCAPE 2016-05-19 20:25:09 +02:00
saschawillems
f601b35229 Display occlusion query stats on text overlay 2016-05-18 19:44:24 +02:00
saschawillems
05b920cf01 Callback for adding custom text to text overlay 2016-05-18 19:33:15 +02:00
saschawillems
19e108165c Reset wait stage masks for submit info after submitting text overlay, disable depth writes and reads , optimize load and store ops for attachments 2016-05-17 23:26:08 +02:00
saschawillems
52f6f3228d Initializer for event create info 2016-05-16 09:23:49 +02:00
saschawillems
1b335ad2c8 Added wrapper for frame preparation and submission, including semaphore selection and text overlay 2016-05-15 20:11:28 +02:00
saschawillems
5266c25c33 Added text overlay to the example base (by default off) 2016-05-15 18:31:31 +02:00
saschawillems
99b9ff220d Text overlay class 2016-05-15 16:14:32 +02:00
saschawillems
33915ac557 Added text overlay class to base folder 2016-05-15 13:24:48 +02:00
saschawillems
de0c29b586 Pass Android gamepad key press to virtual key function of example 2016-05-15 11:13:14 +02:00
saschawillems
7087d7d14e Skinned mesh stuff moved to class, added resources 2016-05-14 21:19:52 +02:00
saschawillems
7203b0cebd Binary shader memory deallocation, new and free instead of malloc (Fixes #118) 2016-05-14 17:11:39 +02:00
saschawillems
45fe43c0c8 Use buffers as copy sources for texutre loading functions (Fixes #140) 2016-05-14 13:50:44 +02:00
saschawillems
a9f280016f Overload for getMemoryType (return type index) 2016-05-11 20:19:01 +02:00
saschawillems
035a5ab560 Macro for checking and displaying Vulkan results 2016-05-08 11:18:39 +02:00
baldurk
a1d8558b89 Add object naming and debug marker/regions to bloom sample 2016-05-07 14:08:40 +02:00
baldurk
d223dfa72b Check for VK_EXT_debug_marker being present and enable it if so 2016-05-07 14:06:47 +02:00
baldurk
6362d7c216 Add utility functions to wrap up use of VK_EXT_debug_marker
* vkDebug::DebugMarkerRegion adds automatically scoped region markers
* vkDebug::insertDebugMarker() inserts a label in a command buffer
* vkDebug::SetObjectName() names any vulkan object with a friendly name
2016-05-07 14:05:56 +02:00
saschawillems
b501b915ac Android function pointers 2016-05-05 15:32:21 +02:00
Sascha Willems
381cd1c733 Updated example base header (Fixes #144) 2016-05-04 11:44:27 +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
8ee2687ced Initializers for attachment descriptions 2016-04-30 10:45:39 +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
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
561cb78720 Store physical device features in example base class 2016-04-24 10:28:27 +02:00
saschawillems
7098fc19a4 Reverted some functions from PR#137 (replaced by different base functionality) 2016-04-21 20:57:02 +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
3faee12381 Pointer to mapped host memory for uniform data 2016-04-17 11:23:56 +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
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
saschawillems
67aa039dfc Destroy swap chain image views of swap chain is getting recreated 2016-04-09 18:59:46 +02:00
saschawillems
a6a327efe6 Updated to SDK 1.0.8 2016-04-09 14:20:57 +02:00
Sascha Willems
5d791ea5d1 Includes 2016-04-03 20:39:44 +02:00
saschawillems
a41ff27bb9 Added frustum culling, use low-poly mesh to move limitation towards cpu 2016-04-03 13:51:47 +02:00
saschawillems
7768992bda Added frustum culling class 2016-04-03 13:07:14 +02:00