aboutsummaryrefslogtreecommitdiff
path: root/loader/wsi.h
AgeCommit message (Collapse)Author
2017-03-01vulkan: update to header 1.0.42Mark Young
Updated all necessary files to 1.0.42. This includes the various headers as well as the loader, and the parameter validation, object tracking, and threading layers. Additionally, bump all layer JSON files to 1.0.42. Also, in this change: - Enable loader extension automation so that the loader now generates all extension entry-points automatically during build to reduce likelihood of missing a critical piece on header update. - Enable layer dispatch table extension automation for the same reason. - Fixes from Mark Lobodzinski and Tony Barbour to resolve crash in loader when working with Intel's Windows driver due to GetInstanceProcAddr getting called on inappropriate command names. Change-Id: Ic18d3fac2e145c386c0192031deb5089c91a00d8
2017-01-26repo: Clang-format LVL source files using GoogleMark Lobodzinski
Switch clang-format standard from the LLVM style to the Google style for more consistency. Change-Id: I247c4abc275d7873a91522e1e234198adaa24033
2017-01-26repo: Clang-format c/cpp/h LVL files using LLVMMark Lobodzinski
Bring all source files in the repo up to date with consistent coding style/standard. Change-Id: Iceedbc17109974d3a0437fc4995441c9ad7e0c23
2017-01-24loader: Update the loader to 1.0.39Mark Young
Add new extensions for 1.0.39. Also, updated layers to include minimal set of functionality for 1.0.39 extensions. Extensions include: - VK_KHR_get_physical_device_properties2 - VK_KHR_shader_draw_parameters - VK_EXT_direct_mode_display - VK_EXT_display_surface_counter - VK_EXT_display_control Also, redo the LoaderAndLayerIf document. Change-Id: I10412086da7a798afe832a3892e18f606259b5af
2016-09-19loader: Fixes for ICD vk{Create|Destroy}SurfaceKHRPiers Daniell
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
2016-09-19loader: gh181 use ICD for SurfaceKHRMark Young
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
2016-09-08loader: Remove extension enable checksMark Young
Apparently, the intent of Vulkan is to have the loader do no run-time checking in each of the functions as to whether or not the extension is enabled. This should only be done in the validation layers. This resolves the crash Jeff was seeing in the Nvidia driver when using the new extension. Change-Id: Ic90db0bde062d6b2511954abb8677f9f20bb4285
2016-09-08loader: Add checks for usage of wsi extensionsMark Young
The loader really should validate that the WSI extensions are enabled before being called. Additionally, I needed to add more checks for the KHR_display_swapchain extension in the parameter_validation and object_tracker layers. Change-Id: I3d07d46baf551be6f5f07e5374d6c683e3f52e7e
2016-04-19misc: Update licenses to Apache 2.0Jon Ashburn
Change-Id: Id447f4c8c53d33f9192940bdd3ae727b7b738a97
2016-04-15loader: Run clang-formatJon Ashburn
Last several commits to loader weren't run through it. Change-Id: I512b2df75c7831ee6433e4c60c6664db85184584
2016-03-25loader: ghlvl#79, Fix to not report unsupported WSI surface extensions on LinuxJon Ashburn
Also fix issue where loader would advertise support for these extensions even if the ICD or layers doesn't support it. Now ICD must report surface extensions for the loader to report them. And on Linux if loader support for a given surface extension (eg Mir) is compiled out then loader doesn't report it. Change-Id: I51e302a32f5431f4893a3795ff31be60e9263f43
2016-03-08loader: gllvl #50, Add support for the WSI extension KHR_displayJon Ashburn
Change-Id: I8d5ecc7500beba3042a6b9147b2f3fd3055b3b1d
2016-02-26loader: Better delineate trampoline and terminator functionsJon Ashburn
No functional changes! Trampoline functions have the Vulkan API function name and are in trampoline.c. Terminator functions have terminator_<Vulkan API name> (omitting the "vk"). Instance extension trampoline and terminator functions are in together in the same file for the extension.
2016-02-10Remove Khronos confidential clause from license text.Karl Schultz
2016-02-03loader:Update copyright and apply clang-format (no logic changes)Jon Ashburn
2015-12-29loader: Version 217 WSI changes.Ian Elliott
2015-12-01loader: Add terminator functions for Create*SurfaceKHR functionsJon Ashburn
These need to call down the chain for layer intercept. Also remove DestroySurfaceKHR from ICD table.
2015-12-01loader: Convert vkDestroySurfaceKHR() to have a terminator.Ian Elliott
2015-12-01loader: Add vkGetPhysicalDevice*PresentationSupportKHR()Ian Elliott
These queries involve trampoline and terminator functions (the latter of which calls the ICD's function).
2015-12-01loader: Add new vkGetPhysicalDeviceSurface*KHR() functions.Ian Elliott
- vkGetPhysicalDeviceSurfaceCapabilitiesKHR() - vkGetPhysicalDeviceSurfaceFormatsKHR() - vkGetPhysicalDeviceSurfacePresentModesKHR()
2015-12-01loader: Started porting loader to new WSI (GIPA missing).Ian Elliott