9 Commits

Author SHA1 Message Date
Mark Lobodzinski
cde126104d wsi: Moved definition of CreateXxxSurface extension to CMakefile
Removed component-specific definitions
2018-05-04 09:24:21 -06:00
Ian Elliott
89145b9dd5 loader: Add vkGetPhysicalDevice*PresentationSupportKHR()
These queries involve trampoline and terminator functions (the latter
of which calls the ICD's function).
2018-05-04 09:24:20 -06:00
Jon Ashburn
74f08155f1 layers: add DestroySurfaceKHR to instance dispatch table 2018-05-04 09:24:20 -06:00
Ian Elliott
3dddf2dabe loader: Address Jon Ashburn's review comments.
It took a few commits (squashed down into 1) to get it correct.  Includes:

Use loader_heap_{alloc|free}().

Try to deal correctly with initializing the vkCreate*SurfaceKHR()'s.
2018-05-04 09:24:20 -06:00
Ian Elliott
70c8d1b8c3 loader: Get loader compiling. 2018-05-04 09:24:20 -06:00
Ian Elliott
03cdd37a54 WSI: Eliminate a lot of references to WSI header files.
Conflicts:
	include/vulkan/vk_layer.h
	loader/loader.h
2018-05-04 09:24:20 -06:00
David Pinedo
9f49f3c45b Layers: changed layer names to conform to spec 2018-05-04 09:24:20 -06:00
Jon Ashburn
dc8a8707bc loader: Add dynamic dispatch for unknown device extension entrypoints
GetInstancePorcAddr() is specified to return trampoline entrypoints for all
Vulkan core and extension entrypoints that are dispatched on an instance object
or a child of that instance object. However, typically, device extensions would
be unknown to the loader (don't want to rev the loader everytime an IHV creates
a new device extension).

This patch allows loader to dynamically discover device extension entrypoints
and configure generic trampoline code for these discovered device extensions.
2018-05-04 09:24:20 -06:00
David Pinedo
803896230a Moved header files from include to include/vulkan 2018-05-04 09:24:19 -06:00