Commit graph

34 commits

Author SHA1 Message Date
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
0b8484b21d Don't exit if anisotropic filtering is not supported 2017-06-01 21:51:43 +02:00
saschawillems
4bbfd06c83 RGBA texture, check for anisotropic support, small optimizations 2017-05-17 21:28:05 +02:00
saschawillems
33f678fd0b Corrected texture format (BC2 instead of BC3) 2017-03-11 10:12:18 +01:00
saschawillems
a5a2211489 Added ETC2 and ASTC texture variants (Refs #174) 2017-03-10 15:20:08 +01:00
saschawillems
ab95c2f29a Added ETC2 and ASTC texture variants (Refs #174) 2017-03-08 20:42:23 +01:00
Sascha Willems
fa5e77c5ad Merge pull request #292 from discosultan/master
Remove duplicate assignment of image usage in texture sample
2017-03-04 14:49:41 +01:00
saschawillems
d51a0204e0 Added missing coherency flags for host visible memory allocations (Fixes #273) 2017-03-04 13:56:09 +01:00
Discosultan
0b79d38fd1 Remove duplicate assignment of image usage in texture sample 2017-02-26 12:20:56 +02:00
saschawillems
1309ee0ef9 Moved tool functions to vks namespace (Refs #260) 2017-02-12 13:10:05 +01:00
saschawillems
b31d773b93 Moved Initializers to vks namespce (Refs #260) 2017-02-12 11:12:42 +01:00
saschawillems
776b6f0106 Moved VulkanBuffer to vks namespce (Refs #260) 2017-02-12 10:44:51 +01:00
saschawillems
70f4daff5d Moved VulkanDevice to vks namespce (Refs #260) 2017-02-12 10:16:07 +01:00
saschawillems
beab768ffd Includes for texturing examples 2017-02-09 22:04:15 +01:00
saschawillems
9822cde6e2 Use new Vulkan texture class (Refs #260) 2017-02-09 21:55:35 +01:00
saschawillems
90b8c82f75 Updated to api changes for recent gli and glm versions 2017-01-21 21:31:26 +01:00
saschawillems
251560845c Proper image layout for descriptor image infos (instead of always GENERAL), code cleanup, comments 2017-01-04 21:49:26 +01:00
Laurent Carlier
6b259a22e8 Use keycodes intead of hardcoded values
Signed-off-by: Laurent Carlier <lordheavym@gmail.com>
2016-08-11 14:24:32 +02:00
saschawillems
175b15da51 Use VulkanDevice for buffer allocations, check anisotropic sampling feature, compiler warnings, comments and code improvements 2016-07-24 21:19:28 +02:00
saschawillems
9a057f4146 Replaced example base memory type index function with function from VulkanDevice 2016-07-23 20:42:03 +02:00
saschawillems
82242e61de Cleaned up image layouts, pass subresourcerange, use undefined image layout for optimal tiled images (refs #187) 2016-06-21 20:36:54 +02:00
saschawillems
0b972e51a4 Inherited key handler (Android buttons), dipslay lod level on text overlay 2016-06-04 12:03:54 +02:00
saschawillems
1b335ad2c8 Added wrapper for frame preparation and submission, including semaphore selection and text overlay 2016-05-15 20:11:28 +02:00
saschawillems
cb96eaf6bd Updated texture example using different texture and lighting (diffuse + specular) 2016-05-14 15:54:20 +02:00
saschawillems
ab54c8d49d Use vulkan result check macro 2016-05-14 13:50:10 +02:00
saschawillems
ab26d105da Copy texture data from buffer instead of linear image and some small fixes and code cleanups (#140) 2016-04-29 21:49:37 +02:00
saschawillems
4e689f3fee Call example destructor on Android (Fixes #97) 2016-03-26 13:21:19 +01:00
saschawillems
786e43384d Android support for texture example (#97) 2016-03-21 22:41:27 +01:00
saschawillems
a3ae911e27 Set mip level count on image barrier subresource, set initial layout to preinitialized (#29) 2016-03-13 13:03:04 +01:00
saschawillems
403d851d63 Force glm clip space to 0..1 (Fixes #18, Fixes #45) 2016-03-08 21:52:40 +01:00
saschawillems
e77884d5bb Use glm::radians instead of deg_to_rad (Fixes #37) 2016-03-08 20:59:25 +01:00
saschawillems
8cd5041111 Use application wide submit info and semaphores (Fixes #66, Fixes #65, Fixes#60), removed no longer functional code loading GLSL (Fixes #62) 2016-03-06 20:15:05 +01:00
Justin Li
311f223e10 Don't set flags on VkSemaphoreCreateInfo 2016-03-06 01:20:03 -05:00
saschawillems
c91341813c Added Vulkan examples sources! 2016-02-16 15:07:25 +01:00