Commit graph

382 commits

Author SHA1 Message Date
saschawillems
d271098464 Silent error mode 2017-08-26 15:05:59 +02:00
saschawillems
b4870a6e7e Moved benchmark to separate header, output summary to stdout
Refs #269
2017-08-26 14:05:48 +02:00
saschawillems
0142c8b820 Add device name to benchmark output file 2017-08-22 21:00:48 +02:00
saschawillems
c2aef7809f Merge branch 'master' into develop 2017-08-22 18:56:05 +02:00
saschawillems
2020c9548f Static shared library 2017-08-19 10:53:28 +02:00
saschawillems
ac7d7396c2 Include required libraries in shared base (fixes gcc on windows) 2017-08-19 10:49:37 +02:00
Jean-Philippe Bruyère
977f0318b7 make base as library 2017-08-17 20:50:28 +02:00
saschawillems
0038e19345 Merge branch 'master' into develop 2017-08-17 19:07:48 +02:00
Sascha Willems
ed1134d6d2 Merge pull request #366 from mnstrmnch/master
Added support for VK_DISPLAY_PLANE_ALPHA_OPAQUE_BIT_KHR for D2D
2017-08-16 22:08:57 +02:00
saschawillems
22a24e508d Merge branch 'master' into develop 2017-08-16 21:15:52 +02:00
saschawillems
c04909f01b LoadOp clear for stencil buffer 2017-08-16 21:00:17 +02:00
Peter Quayle
9f0829336c Added support for VK_DISPLAY_PLANE_ALPHA_OPAQUE_BIT_KHR for the D2D swapchain. 2017-08-15 17:07:16 +01: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
saschawillems
fd439a59e2 Code cleanup, use VK_USE_PLATFORM_ defines where available 2017-07-02 11:57:47 +02:00
Bill Hollings
2d515278e7 Support MoltenVK extension names in call to vkCreateInstance(). 2017-06-30 21:55:17 -04:00
Sascha Willems
b1da3e2cb1 Merge pull request #342 from brenwill/master
Add support for iOS and macOS via MoltenVK
2017-06-29 19:57:58 +02:00
Sascha Willems
40ba8f13cd Merge pull request #347 from aleksysokolowski-intel/master
Proper app termination after WM_QUIT
2017-06-29 19:20:16 +02:00
asokolow
ed207ab030 whitespace fix 2017-06-27 09:03:26 +02:00
asokolow
0cef15c0f2 According to MSDN PeekMessage returns false only when the message queue is empty. If there is another message after WM_QUIT, the part of the code responsible for proper closing of the application would never be triggered. This change handles WM_QUIT message properly. 2017-06-27 09:00:14 +02:00
Bill Hollings
108cdbc14c Merge branch 'master' of https://github.com/SaschaWillems/Vulkan 2017-06-22 14:55:11 -04:00
Bill Hollings
96601494d5 Updates to iOS and macOS functionality using MoltenVK.
Use getAssetPath() instead of ASSET_PATH to support broader range of platforms.
Multisampling example determines sample rate from device at runtime.
Move example wrapper code from DemoViewController.mm to dedicated MVKExample.cpp file.
Remove AssImp libraries for iOS and macOS from repo, and add instructions for
generating them from AssImp source files.
Update general README.md file to mention support for iOS and macOS platforms.
Add Apple logo for README.md.
Update Vulkan logo to current registered TM logo.
Update copyright notice of MoltenVK example files to MIT license.
Examples use +/- on main keyboard, instead of numpad.
2017-06-22 14:53:49 -04:00
saschawillems
55da334ba1 Set sampler max. anisotropy to 1.0f instead of 0.0f (valdidation)
Refs #277
2017-06-17 16:07:38 +02:00
saschawillems
44c420940d Enable validation via define
refs #303
2017-06-15 11:27:49 +02:00
saschawillems
60721b71e1 Check if anisotropy is enabled (Fixes #336, Refs #277) 2017-06-14 23:39:41 +02:00
saschawillems
2027f84d45 Store enabled features in device class 2017-06-14 23:38:57 +02:00
Bill Hollings
338d38ea9a Merge with upstream master 2017-06-05 17:04:14 -04:00
Bill Hollings
6ba784053b Add keyboard support for iOS and macOS under MoltenVK. 2017-06-05 16:26:29 -04:00
saschawillems
904d785c20 Set maxAnisotropy to 1.0f instead of 0.0f (Fixes validation errors, refs #277) 2017-06-01 22:32:39 +02: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
ba0cc82e50 Removed unused parameters for image layout transitions and shader loading (Refs #103) 2017-04-23 11:51:31 +02:00
saschawillems
549f49ff77 Default route for image layout switch statements (fixes gcc compiler warnings, refs #103) 2017-04-22 20:39:16 +02:00
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
saschawillems
7f1849f9bc Return nullptr if window creation fails 2017-04-22 11:47:34 +02:00
saschawillems
486a6a94c0 image memory barrier access masks (validation) [skip ci] 2017-04-20 21:16:48 +02:00
saschawillems
44bcac9be3 Initialize buffer and memory with VK_NULL_HANDLE 2017-04-16 13:39:36 +02:00
saschawillems
1912101fe8 Check swapchain acquire result and rebuild if necessary, error handling (refs #320) 2017-04-15 10:27:12 +02:00
Bill Hollings
626ab5803f Add support for iOS and macOS via MoltenVK. 2017-04-14 12:00:05 -04:00
saschawillems
b399fed33b Check if file to load texture from exists, display error if not 2017-04-13 22:11:00 +02:00
saschawillems
cfcd34498a Use macro fro asset path 2017-04-03 20:10:39 +02: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
eded1560a2 Initialize sampler create info with maxAnisotropy of 1.0f (Validation) [skip ci] 2017-03-26 15:11:02 +02:00
Sascha Willems
068da006eb Merge pull request #305 from ilgrad/master
fix error build
2017-03-25 14:26:54 +01:00
saschawillems
550d12bdd9 File name capitalization 2017-03-25 12:09:45 +01:00
saschawillems
b6c268c52b Touch keycode 2017-03-25 12:07:17 +01:00
saschawillems
bf82026295 Android touch double tap detection (Refs #173) [skip ci] 2017-03-25 11:51:32 +01:00