layers: Use tmp callback for msgs during vk{Create|Destroy}Instance().
authorIan Elliott <ianelliott@google.com>
Thu, 28 Apr 2016 15:08:13 +0000 (09:08 -0600)
committerIan Elliott <ianelliott@google.com>
Thu, 28 Apr 2016 15:13:02 +0000 (09:13 -0600)
commitc120bf9e85649e55261b6e50839576a30bccf835
treee164e59b602f00c765162c82cc26d2204be0ab33
parent1b65a150ec6a75b9fca5d7dc88c274bbfb60bd44
layers: Use tmp callback for msgs during vk{Create|Destroy}Instance().

This is implements some relatively-new functionality of the VK_EXT_debug_report
extension.  An application can pass VkDebugReportCallbackCreateInfoEXT structs
on the pNext chain given to vkCreateInstance(), in order to setup one or more
callbacks that can be used during vk{Create|Destroy}Instance().  These special,
"temporary callbacks" allow messages (e.g. errors) to be logged during the time
when the debug_report extension is normally not setup.

A set of utilities copy VkDebugReportCallbackCreateInfoEXT structs from the
pNext chain given to vkCreateInstance().  These utilities are used by the
validation layers that may have messages (e.g. errors) during
vk{Create|Destroy}Instance().
layers/object_tracker.h
layers/parameter_validation.cpp
layers/swapchain.cpp
layers/swapchain.h
layers/threading.cpp
layers/threading.h
layers/vk_layer_logging.h
vk-layer-generate.py