Commit Graph

14 Commits

Author SHA1 Message Date
Piers Daniell
04f11cd232 loader: Fixes for ICD vk{Create|Destroy}SurfaceKHR
Need to keep VkIcdSurface private to the loader.

The definition may conflict with some redefinitions of
VK_DEFINE_NON_DISPATCHABLE_HANDLE and it's not necessary to make public
anyway.

Change-Id: I30e166f0ecce2fd3ea36c745dc073b705973d75f
2018-05-04 09:23:49 -06:00
Mark Young
d30f8ca53e loader: gh181 use ICD for SurfaceKHR
Use the ICD to create and destroy VkSurfaceKHR objects instead
of just performing the work in the ICD.  This only occurs if the ICD
exports the appropriate entry-points, and exposes version 3 of the
loader/icd interface.

Change-Id: I5e7bf9506318823c57ad75cf19d3f53fdfa6451e
2018-05-04 09:23:49 -06:00
Mark Lobodzinski
70144970cd headers: GH7, Fix bad variable names in vk_icd.h
Change-Id: Ic78792a71ebedbdb5bae68c47856db1c89a714af
2018-05-04 09:23:49 -06:00
Jon Ashburn
063be2d862 loader: ghlvl#180 Support a ICD interface version negotiation
Change-Id: I2e5c3717dd7fa86992f617bcc0f93de8ba60759e
2018-05-04 09:23:49 -06:00
Jon Ashburn
e32b0893ea misc: Update licenses to Apache 2.0
Change-Id: Id447f4c8c53d33f9192940bdd3ae727b7b738a97
2018-05-04 09:23:49 -06:00
Jon Ashburn
087d0a8a79 loader: gllvl #50, Add support for the WSI extension KHR_display
Change-Id: I8d5ecc7500beba3042a6b9147b2f3fd3055b3b1d
2018-05-04 09:23:48 -06:00
Karl Schultz
15371188d3 Remove Khronos confidential clause from license text. 2018-05-04 09:23:48 -06:00
Karl Schultz
cf683631a1 include: Update copyright and apply clang-format (no logic changes) 2018-05-04 09:23:48 -06:00
Courtney Goeltzenleuchter
efb5817099 icd: Remove unused reference to vk_sdk_platform.h 2018-05-04 09:23:48 -06:00
Courtney Goeltzenleuchter
2875d6eb88 misc: remove unneeded stdint.h and stdbool.h
All the necessary platform defines/includes are now part of
vk_platform.h, so don't need them in vk_icd.h
2018-05-04 09:23:48 -06:00
Ian Elliott
95bd3452f6 WSI-ICD: Fix Windows compilation error. 2018-05-04 09:23:48 -06:00
Ian Elliott
56f54c8a6b WSI-ICD: Created per-platform structs for platform-specific info.
Per Khronos Bugzilla Bug 15077, on Windows and Linux, VkSurfaceKHR is treated
as a pointer to platform-specific structs that contain the platform-specific
connection and surface/window info.  The Vulkan loader vkCreate*SurfaceKHR()
functions will fill in the struct.  ICDs and layers will cast VkSurfaceKHR to a
pointer to the appropriate VkIcdSurface* struct.
2018-05-04 09:23:48 -06:00
David Pinedo
184c3c0a78 Moved header files from include to include/vulkan 2018-05-04 09:23:47 -06:00
Khronos Group Webmaster
e9f3597b07
Initial commit 2018-05-03 15:59:09 -04:00