Commit graph

234 commits

Author SHA1 Message Date
saschawillems
82521aaafb Moved Android functions into separate namespace (vks::android) 2017-03-10 17:23:17 +01:00
saschawillems
83806a43c2 Virtual function for enabling features for the logical device creation (called after physical device features have been read) 2017-03-08 21:29:38 +01:00
saschawillems
2eb9b14cc2 Added basic Android touch movement (Refs #173) 2017-03-06 22:11:19 +01:00
saschawillems
143c1c3aac Retrieve and display Android product model and manufacturer in text overlay [skip ci] 2017-03-06 21:54:06 +01:00
saschawillems
133cb9afe2 Basic Android touch support (rotation only) (Refs #173) [skip ci] 2017-03-06 21:22:11 +01:00
saschawillems
c9d9c83617 Basic Android touch support (rotation only) (Refs #173) 2017-03-06 21:16:51 +01:00
Sascha Willems
fa9f0df469 Merge pull request #285 from tomek-brcm/null-handle
Use  VK_NULL_HANDLE for null shader module.
2017-02-16 17:49:21 +01:00
Tomek Bury
c32a131788 Use VK_NULL_HANDLE for null shader module.
The VkShaderModule is defined in vulkan.h as:
VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkShaderModule)
2017-02-15 10:43:59 +00:00
Tomek Bury
b69f87d5c3 Don't wait for Wayland
This allows to run at full speed in MAILBOX mode.
2017-02-15 10:43:36 +00:00
saschawillems
1309ee0ef9 Moved tool functions to vks namespace (Refs #260) 2017-02-12 13:10:05 +01:00
saschawillems
132c2be990 Moved debug functions to vks namespace (Refs #260) 2017-02-12 11:33:04 +01:00
saschawillems
b31d773b93 Moved Initializers to vks namespce (Refs #260) 2017-02-12 11:12:42 +01:00
saschawillems
70f4daff5d Moved VulkanDevice to vks namespce (Refs #260) 2017-02-12 10:16:07 +01:00
saschawillems
7e43a55a76 Removed old mesh loader, replaced with new model loader and vertex layout class in all examples (Refs #260) 2017-02-11 14:18:24 +01:00
saschawillems
83ad186ce5 Removed old texture loader class [skip CI] 2017-02-09 21:51:10 +01:00
saschawillems
1c595c61e8 Enabled device extensions can now be set, display error message if device cannot be created 2017-02-09 19:22:48 +01:00
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
72af67420d Implemented command line device selection and gpu listing (Refs #129) 2017-02-04 13:52:41 +01:00
Tomek Bury
570d9bc6ee Add Wayland WSI support 2017-02-02 08:54:56 +00: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
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
839fc84d69 Moved android_app object to global scope 2017-01-18 19:21:40 +01:00
saschawillems
1634ed065e Mesh loader code cleanup 2017-01-10 21:04:12 +01:00
saschawillems
ebd614439f Removed buffer creation functions from example base class (no longer used) 2017-01-07 20:50:43 +01:00
saschawillems
fbbb63d245 Removed unused functions and members of Vulkan example base class 2016-12-25 13:05:40 +01:00
saschawillems
c2907f9394 Compiler warnings 2016-12-23 16:11: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
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
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
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
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
3eeea85e20 Linux keys 2016-08-04 20:58:02 +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
Sascha Willems
bc4e97cd0c Fixed Linux event loop and added first person camera view 2016-08-03 20:44:31 +02:00
saschawillems
381f568b07 Replaced some C casts with C++ style casts 2016-08-02 20:41:16 +02:00
saschawillems
ba8ff21d36 Fixed windows message loop, reduce number of view updates 2016-07-31 12:41:50 +02:00
saschawillems
4ed547a916 Change window positioning and sizing for Windows (Fixes #212) 2016-07-28 23:07:04 +02:00