Commit graph

348 commits

Author SHA1 Message Date
saschawillems
a9e3e0628c Updated default pipeline stage masks 2016-12-15 20:00:50 +01:00
saschawillems
179984f26d Source and destination stage flags as parameters for setImageLayout, VK_PIPELINE_STAGE_ALL_COMMANDS_BIT as default for both 2016-12-15 19:50:38 +01:00
saschawillems
401369f716 Removed function to get enabled features, features can be set directly in derived constructor due to new explicit Vulkan initialization 2016-12-14 21:38:45 +01:00
saschawillems
00ed23db98 Virtual function for enabling physical device features (instead of function pointer in constructor) 2016-12-14 20:17:15 +01:00
saschawillems
65a8043087 Properly enable validation 2016-12-13 20:07:55 +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
Sascha Willems
40f481f9fd Added missing include for std::find (Fixes #255) 2016-12-08 08:07:43 +01:00
saschawillems
f421d17814 Added function for checking extension support at device level 2016-12-07 21:54:04 +01:00
Cort
d5b03d26a5 Fixed assorted typos in comments and function names 2016-11-28 23:33:50 -08: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
saschawillems
a4df583cd5 define around surface creation function for direct2display 2016-11-05 11:21:51 +01:00
saschawillems
57de00b759 Replace C-style struct initialization 2016-11-05 11:03:45 +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
cd57ec7a32 Return value for sparse info initializer 2016-10-31 22:31:22 +01:00
saschawillems
a33ea8ed4b Added initializers for specialization constants 2016-10-31 22:23:19 +01:00
saschawillems
54ddca7c08 Added Android build files and seettings for SSAO example 2016-10-30 13:49:30 +01:00
saschawillems
06369fc72e Added lighting to SSAO example. small changes and fixes 2016-10-29 13:18:20 +02:00
saschawillems
ad26540e4f Method to copy data to mapped buffer 2016-10-28 19:57:59 +02:00
saschawillems
c9a018ca2e Added function to create a 2D texture from a buffer 2016-10-22 13:14:47 +02:00
saschawillems
0c8cc73864 Heightmap class constructor parameters 2016-10-20 21:27:49 +02:00
saschawillems
21276cb497 Added heightmap class for terrain generation 2016-10-19 22:00:45 +02:00
saschawillems
422ac626e5 Updated window resize handling on (Fixes #171) 2016-10-16 17:39:30 +02:00
saschawillems
d95d5c8991 Option for dedicated transfer queue upon device creation 2016-10-03 11:00:18 +02:00
saschawillems
90315fb783 Option for dedicated transfer queue upon device creation 2016-10-03 10:13:20 +02:00
saschawillems
372e7d74a2 Additional keycodes 2016-09-30 19:12:01 +02:00
saschawillems
cf039957c9 Revert buffer usage flags 2016-09-21 19:39:15 +02:00
plapins
e57722d7f1 Added missing usages in buffers used a source of data copy. Fixed problems with types in starsphere.frag shader. Updated starsphere.frag.spv file. 2016-09-21 14:53:41 +02:00
saschawillems
b54e424d1b Implement make_unique, only require c++11 in CMakeLists (Fixes #235, Refs#167) 2016-09-20 21:04:16 +02:00
saschawillems
a66ed812f7 Initializer for sparse bind info 2016-09-11 18:20:53 +02:00
saschawillems
0261fc27ba Framebuffer image final layout 2016-09-03 11:19:38 +02:00
saschawillems
5862dc0479 Swapchain (and surface) cleanup on APP_CMD_TERM_WINDOW (Android) 2016-08-31 20:41:32 +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
1461731a0e Fix for device creation queue priorities (scope was too narrow) 2016-08-30 18:39:02 +02: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
2749b846b4 Optional descriptor count parameter for descriptor set layout binding initializer 2016-08-15 15:13:33 +02:00
saschawillems
7918e0c435 Merge branch 'master' 2016-08-13 13:14:50 +02:00
saschawillems
0f2892d1f7 Dummy keycodes for Android (required for compiling examples using the new keycodes) 2016-08-13 13:07:49 +02:00
saschawillems
dae07726dc Framebuffer class generates sub pass dependencies for layout transitions, no longer requires layout cmd buffer (Refs #155) 2016-08-12 22:00:17 +02:00
saschawillems
85552a90df Merge branch 'master' into renderpasstransitions 2016-08-11 20:00:34 +02:00
Sascha Willems
fd2859b81e Merge pull request #219 from lordheavy/origin/fix-linux-keyboard
Origin/fix linux keyboard
2016-08-11 19:36:53 +02:00
saschawillems
26fa796517 Changed queue submission pipeline wait stages to color_attachment 2016-08-11 19:29:40 +02:00
Laurent Carlier
92089fc98a Add more Windows and Linux keycodes
Signed-off-by: Laurent Carlier <lordheavym@gmail.com>
2016-08-11 14:24:32 +02:00
saschawillems
f1fe33f37f Fence for text overlay command buffer submission 2016-08-10 20:55:12 +02:00
saschawillems
820e23b085 Fold attachment layout transitions into subpass (Refs #155) 2016-08-10 20:48:26 +02:00
saschawillems
bc8cae9db7 Fold attachment layout transitions into subpass (Refs #155) 2016-08-10 20:39:01 +02:00
saschawillems
e94a762684 Changes to device queue creation info (Fixes #216), try to get a separate compute queue if possible 2016-08-08 20:48:24 +02:00
saschawillems
e5872c3df4 No longer enable depth clamp by default (Fixes #217) 2016-08-07 11:25:21 +02:00
saschawillems
ed71ae00c3 Windows keycodes, moved gamepad keycodes (Android) to keycodes header 2016-08-04 21:18:48 +02:00
Sascha Willems
3eeea85e20 Linux keys 2016-08-04 20:58:02 +02:00