Commit graph

160 commits

Author SHA1 Message Date
saschawillems
5790f30c17 Fixed random seed when run in benchmark mode
Refs #269
2018-01-15 20:40:17 +01:00
saschawillems
4e5d95c098 UI overlay creation via create info structure with additional customization options 2017-11-03 11:17:09 +01:00
saschawillems
97975a314d Unified mouse movement handling 2017-11-02 13:40:27 +01:00
saschawillems
ef96b3c3e3 Member naming 2017-11-01 13:40:44 +01:00
saschawillems
ab407f5346 pass overlay member to virtual update function 2017-10-30 12:36:44 +01:00
saschawillems
f6af0bde03 Replaced text overlay with proper (imgui based) UI overlay class 2017-10-29 11:41:43 +01:00
saschawillems
19245a0f51 Moved swapchain creation into prepare function 2017-10-21 16:51:39 +02:00
saschawillems
83d1dd63aa Changed mouse button handling, added mouse moved event 2017-10-05 21:22:10 +02:00
saschawillems
b4870a6e7e Moved benchmark to separate header, output summary to stdout
Refs #269
2017-08-26 14:05:48 +02:00
saschawillems
94b63d83ba Filename for benchmark results can be passed via arguments
refs #269
2017-08-13 11:10:41 +02:00
saschawillems
55fe613db3 Cleaned up defines (use VK_PLATFORM_* for XCB and Android) 2017-08-13 10:24:25 +02:00
saschawillems
b2136e639f Benchmark mode with csv output
refs #269
2017-07-29 19:31:00 +02:00
Bill Hollings
338d38ea9a Merge with upstream master 2017-06-05 17:04:14 -04:00
cksingamala
aaade7e831 Fixed build failed for _DIRECT2DISPLAY
for _DIRECT2DISPLAY it should not depended on xcb.
fixed by adding macro switch
2017-05-26 11:37:47 +05:30
saschawillems
c024d521e3 Virtual base class destructor (Fixed #96, refs #103) 2017-04-22 20:30:06 +02:00
saschawillems
95e124ea83 Code cleanup (fixes compiler warnings, refs #103) 2017-04-22 16:54:25 +02:00
saschawillems
39824db3e6 Removed parameter names from empty virtual functions (fixes compiler warnings, refs #103) 2017-04-22 16:02:39 +02:00
Bill Hollings
626ab5803f Add support for iOS and macOS via MoltenVK. 2017-04-14 12:00:05 -04:00
saschawillems
c849d18db3 Added imgui example Android build 2017-03-31 09:52:26 +02:00
saschawillems
ccfc1f1124 Add imgui example (wip) 2017-03-30 19:27:57 +02:00
saschawillems
550d12bdd9 File name capitalization 2017-03-25 12:09:45 +01:00
saschawillems
9edc993bf9 Read android config values [skip ci] 2017-03-25 11:15:30 +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
7d7ef490c2 Changed header file name capitalization 2017-03-07 22:00:46 +01:00
saschawillems
e08855dc9e Changed header file name capitalization 2017-03-07 21:58:39 +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
c9d9c83617 Basic Android touch support (rotation only) (Refs #173) 2017-03-06 21:16:51 +01: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
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
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
saschawillems
f86ff6dd27 Updated main entry points (in line with the example base) (Refs #268, #270) 2017-01-23 13:56:42 +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
839fc84d69 Moved android_app object to global scope 2017-01-18 19:21:40 +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
fbbb63d245 Removed unused functions and members of Vulkan example base class 2016-12-25 13:05:40 +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
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
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