Commit graph

265 commits

Author SHA1 Message Date
saschawillems
a5034c53c3 Code cleanup, comments and overloads 2017-01-19 19:32:42 +01:00
saschawillems
839fc84d69 Moved android_app object to global scope 2017-01-18 19:21:40 +01:00
saschawillems
3dfb17c89a Started on reworked sleeker model loader [skip ci] 2017-01-17 20:25:16 +01:00
saschawillems
864beb0472 Missing android function pointer for vkCmdNextSubpass 2017-01-14 17:07:20 +01:00
saschawillems
1634ed065e Mesh loader code cleanup 2017-01-10 21:04:12 +01:00
saschawillems
93bdd86917 Vulkan resource deallocation function for texture class 2017-01-07 21:52:59 +01:00
saschawillems
ebd614439f Removed buffer creation functions from example base class (no longer used) 2017-01-07 20:50:43 +01:00
saschawillems
c4e50f76ee Moved initializers to separate header, code cleanup in general for initializers 2017-01-06 22:48:37 +01:00
saschawillems
b2f224341f Use actual texture image layouts for descriptor image infos (instead of always GENERAL), initial image layout as optional parameters for texture loading functions 2017-01-04 22:08:31 +01:00
saschawillems
fbbb63d245 Removed unused functions and members of Vulkan example base class 2016-12-25 13:05:40 +01:00
saschawillems
be1bcffd8f Removed unused functions 2016-12-25 10:10:22 +01:00
saschawillems
d73afe2a7d Removed no longer used functions and structs 2016-12-24 12:44:06 +01:00
saschawillems
8f6e6b8e9f Replaced old binary shader loading code with ifstream 2016-12-23 17:30:22 +01:00
saschawillems
c2907f9394 Compiler warnings 2016-12-23 16:11:38 +01:00
saschawillems
fa3e11153a Initializer for mapped memory range 2016-12-20 22:25:33 +01:00
saschawillems
b08e9f4074 Setter for camera position 2016-12-20 22:25:17 +01:00
saschawillems
ffd0bbdacc Set TRANSFER_SRC flag for swapchain images if supported for it's color format 2016-12-16 23:47:44 +01:00
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