Commit graph

275 commits

Author SHA1 Message Date
saschawillems
2bc1df7f87 Moved and renamed vertex layout components 2017-01-29 12:05:20 +01:00
saschawillems
d9cf65667b Check for existing asset path on example start (Refs #274) 2017-01-27 19:02:55 +01:00
saschawillems
9a59b24c8d Use swapchain colorformat instead of fixed format (Refs #238, Fixes #254) 2017-01-25 18:54:09 +01:00
saschawillems
f86ff6dd27 Updated main entry points (in line with the example base) (Refs #268, #270) 2017-01-23 13:56:42 +01:00
saschawillems
f09993bc15 Android log output for VK_CHECK_RESULT macro 2017-01-23 13:56:41 +01:00
Sascha Willems
04ef1ff28c Fullscreen mode for Linux (Fixes #268) 2017-01-23 10:49:27 +01:00
saschawillems
06cd53e7b3 Moved settings into separate public struct, read fullscreen arg for all platforms (Refs #268) 2017-01-22 13:38:57 +01:00
saschawillems
792d8347be Window size as arguments (Fixes #270) 2017-01-22 12:29:27 +01:00
saschawillems
90b8c82f75 Updated to api changes for recent gli and glm versions 2017-01-21 21:31:26 +01:00
saschawillems
509bbf9a03 Renamed file 2017-01-19 19:34:48 +01:00
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