Commit graph

384 commits

Author SHA1 Message Date
saschawillems
a77ea9053b Ensure all device operations have been finished before recreating resources on window resize (could cause validation errors in some example) 2017-02-04 15:58:46 +01:00
saschawillems
80fbf5edac Fix validation warning for textoverlay attachment clear values 2017-02-04 15:53:35 +01:00
saschawillems
5a50dfdc1c Parameter ordering for model class (put in line with texture class) 2017-02-04 14:59:31 +01:00
saschawillems
72af67420d Implemented command line device selection and gpu listing (Refs #129) 2017-02-04 13:52:41 +01:00
saschawillems
912f38455c Device type string conversion function 2017-02-04 13:35:40 +01:00
Sascha Willems
f51345029b Merge pull request #276 from tomek-brcm/wayland
Add Wayland WSI support
2017-02-03 14:09:45 +01:00
Tomek Bury
570d9bc6ee Add Wayland WSI support 2017-02-02 08:54:56 +00:00
Christoph Haag
df6bb48766 explicitely choose VK_FORMAT_B8G8R8A8_UNORM
if it's not available, select the first available color format
2017-01-31 15:51:33 +01:00
saschawillems
55771091de Added new Vulkan texture class (to replace old texture loader) [skip ci] 2017-01-29 12:53:57 +01:00
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