Commit Graph

45 Commits

Author SHA1 Message Date
Lynix 4ff36108b2 Vulkan: Fix linking problem
Former-commit-id: 8f4df471a2745a32e6b131a4bd83345bdb9b304e [formerly 479e6489039b511b08a63535845293a84460ed87]
Former-commit-id: 064509430d76e54466709c3288db9443956759c9
2016-07-04 18:14:40 +02:00
Lynix 8bc7998b46 Vulkan/Swapchain: Make swapchain create imageview
Former-commit-id: aba6fa6ca74eb1566d5203e12978c9be4731331e [formerly cb900a59afe3b8d9778a82b3302dc483b500083d]
Former-commit-id: 5283d835a1560cbc6c5034563af262d8f33e6bfc
2016-07-04 18:14:27 +02:00
Lynix 0702511108 Vulkan: Add Framebuffer, ImageView, Pipeline, PipelineCache, PipelineLayout, RenderPass and ShaderModule wrappers
Former-commit-id: fc1269a25704d1b19192062277a3593a3e39a239 [formerly 5235f84349ba6edced65db7c60800b9b52ff1a16]
Former-commit-id: 74e6cfc61f87d61e69ca20f2fd6187c2cd48c44a
2016-07-04 18:13:51 +02:00
Lynix 7d73f0dcad Vulkan: Add physical device retrieval
Former-commit-id: 5c0e8256123fcfe5d3563b224bdcc11efa645fd3 [formerly cecb3404e98b1be4a5176fe27c1dec533e16701a]
Former-commit-id: a2fa7f6d96e3fe6f43af97b5c882d939a947fb9a
2016-06-19 15:31:53 +02:00
Lynix a6f223a396 Vulkan/Swapchain: Fix warnings
Former-commit-id: 0f3511c6b678ad52c36880ae00c7dc39c78a259c [formerly 1ae9834f0f30ef38f7c8fbcb6b3d8b0f29a78ae8]
Former-commit-id: 1cccb7159f6a4da20a48b9f7c7b01a709549a2dc
2016-06-19 15:30:35 +02:00
Lynix e332f2f77e Vulkan/Swapchain: Make Acquire Next Image constant
Former-commit-id: 54d3fde63a01b138b8d391d9e318c618e69c5eed [formerly c44a46a3ca62d65f3279bd44f1647996fd03b38e]
Former-commit-id: 25bf025b3853879b0eee577ad4bb7ffe9a96fd4a
2016-06-17 18:12:19 +02:00
Lynix 6531f6028a Vulkan: Fix crashs
Former-commit-id: feb7e2a90be95b16cabe2777fc24ce7899525cb8 [formerly 8dfbc95cb7828e1767d9cf850f3de17c6d88c02f]
Former-commit-id: af32212fb81b9a96b7cc001916e269144778d74f
2016-06-13 22:29:44 +02:00
Lynix 4c501320b8 Vulkan: Make implicit conversion work on const
Former-commit-id: f4ed2fb536c1cd49b786a7cc2f0db1b23888a24b [formerly 8fa97e865fb2e8cf9c3725fedee07eee3ff3ba0a]
Former-commit-id: 4fbf84f1d35d008769750a3675fc9daa85bbe3cd
2016-06-13 22:29:16 +02:00
Lynix a91085550d Vulkan: Add CreateDevice/SelectDevice functions
Former-commit-id: bb15b0f93fbc5a21c83178f13738976159044d9a [formerly 98145969e963560d9677ad24683189847511b5e6]
Former-commit-id: 90348ef452c507387377c609bbb238d735342973
2016-06-13 19:56:38 +02:00
Lynix 26e2f57c35 Vulkan/Device: Add GetPhysicalDevice()
Former-commit-id: 720b4a1a94e751ee70f9554173c600efb0cc1218 [formerly 0f3e615d1393dff4eb1c809a6ccf08ed6f384ccd]
Former-commit-id: e84e98542b4ba69cf5c97a8cf4d76f4f9e9ae63f
2016-06-13 19:55:42 +02:00
Lynix c28995bc88 Vulkan/Device: Add queue infos
Former-commit-id: 36a260b1efa0f443b1c22c21060adbc7ff23a10f [formerly a9c073dfae57cde2c3b175c5f70e2fa47976bd82]
Former-commit-id: a14c9a5283579dff978fffcca660e4974bf8e58d
2016-06-13 19:55:26 +02:00
Lynix 113f99e2d1 Vulkan/Surface: Make surface queriers const
Former-commit-id: 960e80d25be4d7260eaec5d6cb47b1f4fa0f0dc3 [formerly 3b95cbb32b29f15765d2388afd3d6158ce2756dd]
Former-commit-id: e1ffdc3b2ae7d113641f000beba6ce36543cf2f3
2016-06-13 19:54:20 +02:00
Lynix 405e873294 Vulkan: Make device objects take a DeviceHandle at creation
Former-commit-id: 0c9724fac593d562dd0ef6fbdf10b2cad9494ac7 [formerly 05c1e582989afde033ac6cee4def19859246167b]
Former-commit-id: 4730597d196d8841c395a1cfe101bca70caa4a5e
2016-06-13 19:53:46 +02:00
Lynix b9b5db734c Vulkan/Core: Add loader and instance initialization
Former-commit-id: d0635e2727d1f2f52fe8a03ff0530134645f1b1d [formerly fc5f88194171efde1e68387154db661072bfdf90]
Former-commit-id: 6e42212b86524334a8324b1e49230303b49f969f
2016-06-01 21:00:00 +02:00
Lynix baa0dc3e3d Vulkan: Fix Destroy() method of object not resetting the internal pointer
Leading to double-delete if Delete() was explictly called


Former-commit-id: 0f42bc70913b64eb60193035ae15285fcc8c88ad [formerly 6d8b0e87e7b2edfb2052671a059863b3ce439fcc]
Former-commit-id: 2806bd83474c0c12fb88b9562b6baf71cc7692c1
2016-06-01 20:59:39 +02:00
Lynix b4d9eb58c1 Vulkan/CommandBuffer: Fix warning for GCC
Former-commit-id: f789c93664237f951dfc18cb7c5e97cb0816c4e6 [formerly dca55e27aa6a898f65a1f24b936c0521d1eab6c0]
Former-commit-id: 992469ac784ee3d48180b2e8e5d2e67ba9ad7d0c
2016-06-01 13:08:13 +02:00
Lynix fdefa1a350 Vulkan/Surface: Fix compilation under Linux
Former-commit-id: bc978a47159d5242cc4ef0d15e5118d5992a8199 [formerly 1bd17a6b57f2fffd5e143b89d2a14567b49b1413]
Former-commit-id: 0d1059e57c99df00f293621914486bf86c5fe7ba
2016-06-01 13:06:32 +02:00
Lynix 80e26a86be Vulkan/CommandBuffer: Add Begin/End overloads
Former-commit-id: faab408f445aeb74a8d231590825e53648db7817
2016-05-19 18:34:03 +02:00
Lynix 7e63e8fdb6 Vulkan: Wrap vulkan queues
Former-commit-id: 9fff47e3efbb8ce7b2c70be9a468627b7e8a1340
2016-05-19 18:33:47 +02:00
Lynix 5b7476eab7 Vulkan/Swapchain: Wrap images creation/getters
Former-commit-id: 285c51718f7e7aed6bb92e1a66a5ef83f78cb477
2016-05-19 09:07:31 +02:00
Lynix 230a42ca88 Vulkan/Device: Improve and rename GetDeviceQueue method
Former-commit-id: 05c53b64d79411cc093d885457f0c7eb68364059
2016-05-19 09:04:29 +02:00
Lynix 6ee0b4a51d Vulkan/CommandBuffer: Fix crash when moving
Former-commit-id: 441095f5be1fc45dac4b56e1cf535c1145327d4b
2016-05-19 09:04:01 +02:00
Lynix c22003df0e Vulkan/CommandPool: Fix linking error
Former-commit-id: a56db2c2480c280590488396f676b7bd7d80aff5
2016-05-19 09:03:49 +02:00
Lynix 591498e340 Vulkan/Surface: Add a few wrapper methods
Former-commit-id: 2d21ec0d2407caf74eac11da6da5c7776cfc584a
2016-05-18 21:32:41 +02:00
Lynix bb945d773e Vulkan: Add support for CommandPool and CommandBuffer
Former-commit-id: 0ed1e8d09300577be3d4c52b94d6a8f594178a8b
2016-05-15 00:08:05 +02:00
Lynix e5528abb0f Vulkan: Allow Device Objects to be move-constructed
Former-commit-id: 3f0d936867d1830478c5a23c3076f532ea26dc94
2016-05-14 21:28:59 +02:00
Lynix e1382845b4 Vulkan/Swapchain: Fix compilation
Former-commit-id: 9ab7e69c0b9f61793d334410eb630487e08bcba6
2016-05-14 15:41:26 +02:00
Lynix cede56fa27 Vulkan: Remove redundant headers
Former-commit-id: b18cbc77440d9be8dfab700b09f8a01a8eb80f26
2016-05-14 15:28:29 +02:00
Lynix b37efa53bb Vulkan: Use a generic class helper for all device objects
This greatly reduce the amount of code required for wrappers around
Vulkan Objects


Former-commit-id: 86d366c594cf51cefdf656d04a87180183f5aaf5
2016-05-14 14:46:15 +02:00
Lynix 0b0f7f0755 Vulkan/Device: Make Device a handled object
Former-commit-id: 16a96932dfff6cea44cf57261543d3e452028f01
2016-05-06 20:29:45 +02:00
Lynix 8a8731f330 Vulkan: Add support for semaphores
Former-commit-id: 429c5b61dd3a8c9666e2cf0d94f17d353e4e59f0
2016-04-30 11:44:02 +02:00
Lynix d87b0587d7 Vulkan: Add support for Swapchains
Former-commit-id: 7eafa8f4d38fb3202c63bc42d5d5bb4febfd459a
2016-04-30 11:43:48 +02:00
Lynix cc9d2c6ab2 Vulkan/Device: Add proper support for all device functions and extensions
At least I hope that's all


Former-commit-id: acf25110dc4598f0bb59737d09521570ca39e4ef
2016-04-30 11:43:35 +02:00
Lynix 0b725e1090 Vulkan/Surface: Add implicit conversion to VkSurfaceKHR
Former-commit-id: 83bd6ba118a3d5c3c2ea136b6cc0a0011d1d4c3d
2016-04-30 11:42:24 +02:00
Lynix 3bcde868ef Vulkan/Instance: Fix possible crash when not using layers or extensions
Former-commit-id: a429d0f1032f1a39ee50075b366d83cf4cba0823
2016-04-30 11:41:36 +02:00
Lynix 72e849fa85 Vulkan/Surface: Move all of .cpp code to .inl
There's no point to have .cpp file of this class and others (swapchain,
fence, semaphore, etc.)


Former-commit-id: 82472312ac31bbe60683cf7e3c4b8f40bb5cd984
2016-04-29 23:20:44 +02:00
Lynix 5bd08501e9 Vulkan/Surface: Add missing implementation
Former-commit-id: ca6008f2c717aee8cea80805f9f5f0c6ed950c32
2016-04-29 22:46:43 +02:00
Lynix 3d09177795 Vulkan/Device: Add useful accessors
Former-commit-id: b2b6378b2b9a8de2ad1c47b72f2acd6dd86a087a
2016-04-29 22:46:25 +02:00
Lynix da3682149c Vulkan: Move device-level extension to Vk::Device
Former-commit-id: a73c8cd9744517baea7a5fbd440ccb4d90e9bfc7
2016-04-29 22:45:54 +02:00
Lynix a3cc866bbd Vulkan: Add support for surfaces
Former-commit-id: c4599c430add1bc54e9665d5bb0e0ca5071bcf41
2016-04-28 20:37:41 +02:00
Lynix e1d424e5f9 Vulkan: Add support for extensions
Former-commit-id: ab5742edc79815dd75473bf467c7b1dd46e2fecb
2016-04-28 20:37:30 +02:00
Lynix da401af52c Vulkan/VkLoader: Add EnumerateInstance[Extension|Layer]Properties helper
Former-commit-id: a7cfc73816266cef944f7cb3c668be0b86bbfcbf
2016-04-24 04:37:31 +02:00
Lynix 22a31c72ed Vulkan: Add loading of Instance/Device
Former-commit-id: 0184f78824900bd46cff94dbfe829b126b8c984d
2016-04-24 02:28:26 +02:00
Lynix 16d1b83edb Extlibs: Add Vulkan headers
Former-commit-id: 09fcbdfd488b2ba203245a1579f6665d2f0f9497
2016-04-21 17:27:16 +02:00
Lynix ddf75e852a Vulkan: Add empty module
Former-commit-id: 89e01819b36aeda5bfadac35d8a4190256461eca
2016-04-21 13:38:58 +02:00