Commit graph

166 commits

Author SHA1 Message Date
saschawillems
00ed23db98 Virtual function for enabling physical device features (instead of function pointer in constructor) 2016-12-14 20:17:15 +01:00
saschawillems
17e3313b53 Move Vulkan initialization out of example constructor to allow overriding initialization functins (e.g. instance creation) 2016-12-13 19:59:15 +01:00
saschawillems
9462a24421 platform agnostic argument handling 2016-11-10 22:56:15 +01:00
saschawillems
db66e81721 platform agnostic argument handling 2016-11-10 22:31:06 +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
422ac626e5 Updated window resize handling on (Fixes #171) 2016-10-16 17:39:30 +02:00
saschawillems
b7ca1aad5d Use debug marker flag from vulkanDevice class, fixed fps display (sync with actual frame time) 2016-08-30 21:53:15 +02:00
saschawillems
85552a90df Merge branch 'master' into renderpasstransitions 2016-08-11 20:00:34 +02:00
saschawillems
26fa796517 Changed queue submission pipeline wait stages to color_attachment 2016-08-11 19:29:40 +02:00
saschawillems
bc8cae9db7 Fold attachment layout transitions into subpass (Refs #155) 2016-08-10 20:39:01 +02:00
saschawillems
ed71ae00c3 Windows keycodes, moved gamepad keycodes (Android) to keycodes header 2016-08-04 21:18:48 +02:00
Sascha Willems
f8cd3ee452 Movement keys for (first person) camera on Linux (Refs #56, Refs #181, Refs #186) 2016-08-03 21:44:04 +02:00
saschawillems
ba8ff21d36 Fixed windows message loop, reduce number of view updates 2016-07-31 12:41:50 +02:00
saschawillems
9a057f4146 Replaced example base memory type index function with function from VulkanDevice 2016-07-23 20:42:03 +02:00
saschawillems
2e6e9d5eb2 VulkanDevice refactoring 2016-07-22 20:47:23 +02:00
saschawillems
cba856c1eb Initialize (Linux) quit member (Fixes #207) 2016-07-18 20:43:41 +02:00
saschawillems
3c944c2bd9 Added Vulkan device class that encapsulates access to the physical and logical device and includes common functions 2016-07-16 17:36:35 +02:00
saschawillems
e97713ab34 Added missing line for linux example main macro (Fixes #193) 2016-07-04 19:12:30 +02:00
saschawillems
14f82969be Added mesh create info structure for passing info on scaling and centering upon mesh creation 2016-07-03 21:09:20 +02:00
saschawillems
aa1fb5eb95 Callback for enabling device features as optional constructor argument (Refs #165) 2016-06-27 22:28:21 +02:00
saschawillems
165022ab7e Moved event handler callbacks (windows and linux) into os specific macros 2016-06-26 00:04:13 +02:00
saschawillems
e24a54b976 Added os specific example main entry point macros 2016-06-25 23:10:43 +02:00
saschawillems
0ca94918db Added os specific example main entry point macros 2016-06-25 23:01:09 +02:00
saschawillems
8f76a24e53 Build command buffers for pre and post present barriers only once (instead of every frame) 2016-06-21 23:07:16 +02:00
saschawillems
d944af8604 Transform swap chain image from undefined instead of present (fixes #156) 2016-06-21 22:23:14 +02:00
saschawillems
2e101fdd1e First person gamepad camera for Android (move with LT, look around with RT) 2016-06-20 22:08:50 +02:00
saschawillems
2425797ca7 Force V-Sync via command line (windows) 2016-06-12 17:20:42 +02:00
saschawillems
73e18a4c05 Added basic camera class with firs-person view (wip!) 2016-06-11 15:54:16 +02:00
saschawillems
f7f5f57e2c Explicit depth/stencil attachment setup in triangle example, code cleanup 2016-06-03 13:15:55 +02:00
saschawillems
75a6f46c4a Use Vulkan result check macro, removed unused functionality from tools and base class 2016-05-30 20:57:38 +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
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
05b920cf01 Callback for adding custom text to text overlay 2016-05-18 19:33:15 +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
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
a9f280016f Overload for getMemoryType (return type index) 2016-05-11 20:19:01 +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
Sascha Willems
381cd1c733 Updated example base header (Fixes #144) 2016-05-04 11:44:27 +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
2e72dce7af Additional buffer and command buffer functions in base class 2016-04-16 14:42:41 +02:00
saschawillems
23f3eb0170 Window resize (#105) 2016-04-10 11:12:04 +02:00
saschawillems
2517a2b82e Corrected stage flag for push constant range, removed descriptor sets (not used in this example) 2016-04-02 12:47:08 +02:00
saschawillems
bb4d348ccd Added camera position moved with midlle mouse button, fixed mouse button press and release events on linux 2016-03-30 22:48:58 +02:00
saschawillems
9f787938c3 Made render pass and frame buffer setup functions virtual 2016-03-28 21:43:31 +02:00
saschawillems
2ed3e946b1 Android application state handling (#97) 2016-03-26 12:58:35 +01:00
saschawillems
a6e13b907f Android support for particle fire example (#97) 2016-03-23 23:02:10 +01:00