75cb7d14f1
Correct usage of Allocator in functions returning a vector of UniqueObjects (#178)
Andreas Süßenbach
2018-02-01 14:45:30 +01:00
4b77709e49
Add Vulkan function dispatcher which queries pointers through vkGet*ProcAddress (#176)
Markus Tavenrath
2018-01-29 23:39:35 +08:00
07b4e69c9d
Introduce VULKAN_HPP_ASSERT, to allow custom assert. (#175)
Andreas Süßenbach
2018-01-23 14:10:55 +01:00
e97e34675d
Add support for Vulkan call delegation to support custom loaders. (#174)
Markus Tavenrath
2018-01-22 22:36:15 +08:00
d74e5f6199
Change functions returning a UniqueHandle to returning a ResultValue<UniqueHandle>::type, making VULKAN_HPP_NO_SMART_HANDLE and VULKAN_HPP_NO_EXCEPTIONS really independent. (#173)
Andreas Süßenbach
2018-01-16 14:59:54 +01:00
05586ce4a2
Don't destroy null-objects in UniqueHandle (Fixes#171).
Daniel Kirchner
2018-01-14 10:38:05 +01:00
c548ea4bf2
Remove constructors for "returnedonly" structures; introduce member inialization for pNext and sType, instead. (#168)
Andreas Süßenbach
2018-01-05 09:25:38 +01:00
c4fcc08e95
Reshape alias handling according to new alias usage in vk.xml. (#167)
Andreas Süßenbach
2018-01-04 10:51:17 +01:00
15ac21442d
Refactor into the newly introduced class VulkanHppGenerator. (#164)
Andreas Süßenbach
2017-12-21 12:40:48 +01:00
25ad869b15
Extend checks on attributes, introduce checks on elements (#161)
Andreas Süßenbach
2017-12-13 22:57:40 +01:00
6be84edcd9
Improve error handling by validating attributes and give more meaningful error messages
Andreas Süßenbach
2017-12-07 08:46:58 +01:00
977da9e304
Tidy up README.md, add "See Also" and "License". (#159)
Samuel Williams
2017-12-06 04:33:37 +13:00
047961e987
Update to Vulkan 1.0.66 (#158)
Markus Tavenrath
2017-12-04 14:27:47 +01:00
05bd56f8c5
Fix issue #147. Do not assert on negative result codes when throwing an exception. There're cases where vendors are non-standard conform and return positive return codes and it's also possible that new success codes could be introduced which require special handling. For the latter case it's legit to throw an exception which a positive result code. (#156)
Markus Tavenrath
2017-11-30 15:18:58 +01:00
b8b1b4db63
Fix issue #151: Add functions to get the parent & allocator or pool from a UniqueHandle (#155)
Markus Tavenrath
2017-11-29 16:51:35 +01:00
4da433e279
Fix issue #133: Add explicit conversion from C-style Vulkan flags to Vulkan-Hpp flags (#154)
Markus Tavenrath
2017-11-29 14:56:03 +01:00
1a32a6c072
Add constructors for readonly structures (#153)
Markus Tavenrath
2017-11-29 14:53:57 +01:00
509a3df5bb
Use generated enumeration for sType in struct constructor, instead of generating that value out of the structure's name
Andreas Süßenbach
2017-11-29 10:09:32 +01:00
6e12cceb37
Fix issue #146. Remove constexpr to bring back support for VS 2013. (#149)
Markus Tavenrath
2017-11-24 11:14:03 +01:00
e464d695dd
Fix issue mentioned in PR #137. There's no technical reason not to allow vk::UniquePtr with exceptions are disabled. (#142)
Markus Tavenrath
2017-10-24 16:35:31 +02:00
cb55e77f53
Adjustments for Vulkan 1.0.64 (#140)
Andreas Süßenbach
2017-10-24 16:15:43 +02:00
d62cb5d199
Add Travis-CI badge to README.md (#88)
Karl Schultz
2017-10-09 09:22:01 -06:00
5ee30d3ce1
Update to Vulkan 1.0.62 (#136)
Markus Tavenrath
2017-10-09 17:21:32 +02:00
6681979254
Allow passing allocator object as parameter when using custom allocators for std::vector return types (#132)
Markus Tavenrath
2017-09-28 23:37:27 +02:00
0b8ab65be2
Adjustments to changes with Vulkan 1.0.61 (#131)
Andreas Süßenbach
2017-09-28 11:49:17 +02:00
8da778cfb3
Bump Visual Studio requirement to VS2015 and add UnqiuePtr documentation. (#130)
Markus Tavenrath
2017-09-28 10:21:35 +02:00
b4694d931c
Make Vulkan-Hpp namespace configurable. (#129)
Markus Tavenrath
2017-09-19 07:55:48 -05:00
daae0b6194
Add UniqueHandle non-const accessors, ensure all by reference. (#123)
Samuel Williams
2017-09-15 01:22:47 +12:00
bca6564dac
Add support for structure pointer chains & bump version to 1.0.57 (#119)
Markus Tavenrath
2017-08-16 11:46:45 +02:00
a50ea7dc6c
Update to Vulkan 1.0.55 (#116)
Andreas Süßenbach
2017-07-19 09:35:28 +02:00
195479de01
bracket the exception definitions by "#ifndef VULKAN_HPP_NO_EXCEPTIONS" (#114)
Andreas Süßenbach
2017-06-26 15:25:53 +02:00
c71fcac937
Update to Vulkan 1.0.51 (#111)
Andreas Süßenbach
2017-06-16 15:52:34 +02:00
8f21dfa0f5
Use string templates in more places (#106)
Markus Tavenrath
2017-05-16 15:32:14 +02:00
850e77938f
Add support for template strings in code generator to make the code generator more readable. (#103)
Markus Tavenrath
2017-05-11 09:21:14 -07:00
cd9d4f1388
Unify long string literals to use raw string literals. (#101)
Andreas Süßenbach
2017-04-28 18:49:59 +02:00
bea247fd4e
Cleanup and commenting on the writing part. (#98)
Andreas Süßenbach
2017-04-24 09:30:02 +02:00
6f37c62592
Update to version 1.0.46 (#96)
Andreas Süßenbach
2017-04-06 14:36:03 +02:00
93fca3b8d9
Removed extra back tick. (#94)
Dylan McGannon
2017-03-21 05:18:08 +11:00
7b37d72dd3
Cleanup and some comments on reading. (#90)
Andreas Süßenbach
2017-03-08 14:14:01 +01:00
512ab0b85e
Update to version 1.0.42 (#89)
Markus Tavenrath
2017-02-27 06:34:11 -08:00
a167d626b8
Remove clang from travis build until libc++/libstd++ issues have been sorted out. (#87)
Markus Tavenrath
2017-02-27 14:54:06 +01:00
61b349876a
Add Travis CI config file (#84)
Karl Schultz
2017-02-21 04:02:41 -07:00
8e3dd21d42
Add missing "std::" to nullptr_t. (#83)
Andreas Süßenbach
2017-02-16 16:20:25 +01:00
413dfd8f12
Introduce explicit constructors of handle-wrappers from raw handles in case of non-typesafe conversion (#82)
Andreas Süßenbach
2017-02-15 17:07:50 +01:00
9e8f233557
Update to Vulkan 1.0.40; added handling of types and commands from disabled extensions (#80)
Andreas Süßenbach
2017-02-14 18:28:05 +01:00
f0eff17d9b
Introduce constructor and assignment operator on nullptr_t (#77)
Andreas Süßenbach
2017-02-14 13:56:11 +01:00
43b2c5ef66
Changed *Deleter classes to not hold a pointer to the controlling object, but hold a copy of it. (#76)
Andreas Süßenbach
2017-02-13 09:23:35 +01:00
3b31847126
Cleanup on data structures and more: (#74)
Andreas Süßenbach
2017-02-08 13:56:06 +01:00
6243e6deaa
Made UniqueHandle constructor explicit. (#72)
Andreas Süßenbach
2017-02-06 13:26:43 +01:00
bdbf7fef28
Prevent warning on multiple defined macro VULKAN_HPP_TYPESAFE_CONVERSION in 32 bit. (#71)
Andreas Süßenbach
2017-02-01 19:15:52 +01:00
f7cf7eeb3e
re-run generation on Vulkan version 1.0.39 with Structure::setSType() functions filtered out. (#65)
Andreas Süßenbach
2017-02-01 19:15:05 +01:00
43ec5d8ea9
Update to Vulkan 1.0.39 (#63)
Andreas Süßenbach
2017-01-30 17:09:29 +01:00
02404f397d
Filter out functions Structure::setSType(), as the structure types are supposed to be immutable. (#60)
Andreas Süßenbach
2017-01-30 17:08:49 +01:00
ae2e22e506
Introduce helper class UniqueHandle; add creation functions returning UniqueHandles (#59)
Andreas Süßenbach
2017-01-27 15:15:50 +01:00
9cd09f944f
Update to Vulkan 1.0.38 (#57)
Markus Tavenrath
2017-01-17 10:14:50 +01:00
09e169c46f
Update to rel 1.0.35 (#54)
Andreas Süßenbach
2016-12-01 22:00:03 +01:00
81dd365ccc
Fix naming conventions for functions in README.md and update to Vulkan 1.0.34 (#50)
Markus Tavenrath
2016-11-22 08:53:31 +01:00
3e3c16a0a1
Add constructor to Optional<RefType> which accepts a RefType* in addition RefType& and nullptr. This is required since *nullptr is illegal and writing (ptr == nullptr) ? nullptr : *ptr isn't an efficient solution for the problem. (#45)
Markus Tavenrath
2016-11-04 09:14:53 +01:00
952667d3c0
Add operator~() on Flags<> and FlagBits (#44)
Andreas Süßenbach
2016-10-26 10:49:58 +02:00
8236dd0ba9
Update to version 1.0.32 (#43)
Markus Tavenrath
2016-10-25 23:51:40 +09:00
c8df19c07b
Update documentation to include latest features (#42)
Markus Tavenrath
2016-10-19 16:07:39 +02:00
bf2cd41450
Add VULKAN_HPP_INLINE to force inlining in all functions which had the inline keyword before. MSVC didn't inline some of the functions including the critical createResult ones. (#41)
Markus Tavenrath
2016-10-17 10:34:14 +02:00
938db16ce5
Update to Vulkan 1.0.31 (#40)
Markus Tavenrath
2016-10-14 18:36:15 +02:00
1ba3ceaf3f
Add support for std::tie on ResultValues. This allows developers to write (#39)
Markus Tavenrath
2016-10-14 16:22:14 +02:00
d2423209f8
Update to Vulkan 1.0.30 (#38)
Markus Tavenrath
2016-10-07 15:14:24 +02:00
84a35fc36f
Fix issue_35, update to Vulkan 1.0.29 (#37)
Markus Tavenrath
2016-10-05 13:50:30 +02:00
ac9510cb7d
Fix 64-bit define detection in Vulkan 1.0.25 (#29)
Markus Tavenrath
2016-09-05 10:26:43 +02:00
6285f71d58
Fix GCC version detection for unrestricted unions (#28)
Endre Oma
2016-08-31 15:34:05 +02:00
33071cd7a3
issue #25: Change error checking asserts to std::runtime_error exceptions for invalid enums tags. (#26)
Markus Tavenrath
2016-08-29 10:03:04 +02:00
f1ade1b3ed
Merge pull request #23 from mtavenrath/operator_less
Andreas Süßenbach
2016-08-16 10:03:17 +02:00
820ec7097a
Add support for operator<
Markus Tavenrath
2016-08-16 08:42:01 +02:00
1b25982cc9
Add operator== and operator!= to handles. Fix issue #20 (#22)
Markus Tavenrath
2016-08-15 16:10:20 +02:00
73857ee1dd
Add security check and resize on vector-returning functions where the size of the vector is queried from vulkan, and the size can potentially change between querying the size and querying the data. (#18)
Andreas Süßenbach
2016-08-09 11:33:30 +02:00
633182bbc0
Merge pull request #13 from billeter/flagfix
Andreas Süßenbach
2016-07-27 19:36:28 +02:00
40139e1741
Regenerate vulkan.hpp
Markus Billeter
2016-07-27 14:20:00 +02:00
5cc20f59ea
Fixed: use MaskType rather than uint32_t
Markus Billeter
2016-07-27 14:23:05 +02:00
02f86eafea
Update to version 1.0.21 (#12)
Markus Tavenrath
2016-07-27 09:41:47 +02:00
623232ddeb
Merge pull request #11 from mtavenrath/remove_nvidia_references
Andreas Süßenbach
2016-07-26 16:58:29 +02:00
bc59efe23c
Remove nvidia references
Markus Tavenrath
2016-07-26 16:28:30 +02:00
dd2744eecf
Merge pull request #10 from mtavenrath/fix_headers
Andreas Süßenbach
2016-07-26 16:18:16 +02:00
a31b910628
Fix gcc/clang includes and warnings
Markus Tavenrath
2016-07-26 16:09:41 +02:00
6740df4faf
Change readme example to catch std::exception (#4)
jeaye
2016-07-25 11:40:22 -07:00
e1703832d8
Merge pull request #8 from mtavenrath/operator_equal
Markus Tavenrath
2016-07-25 20:34:45 +02:00
54eab5414c
Introduce operator== and operator!=() on structs
Andreas Süßenbach
2016-07-25 20:31:10 +02:00