Home | History | Annotate | Download | only in layers

Lines Matching refs:instance

87 VK_LAYER_EXPORT VKAPI_ATTR void VKAPI_CALL vkDestroyInstance(VkInstance instance, const VkAllocationCallbacks *pAllocator) {
88 dispatch_key key = get_dispatch_key(instance);
91 startWriteObject(my_data, instance);
92 pTable->DestroyInstance(instance, pAllocator);
93 finishWriteObject(my_data, instance);
107 // Release mutex when destroying last instance.
247 VK_LAYER_EXPORT PFN_vkVoidFunction VKAPI_CALL vkGetInstanceProcAddr(VkInstance instance, const char *funcName) {
256 if (instance == VK_NULL_HANDLE) {
260 my_data = get_my_data_ptr(get_dispatch_key(instance), layer_data_map);
270 return pTable->GetInstanceProcAddr(instance, funcName);
274 vkCreateDebugReportCallbackEXT(VkInstance instance, const VkDebugReportCallbackCreateInfoEXT *pCreateInfo,
276 layer_data *my_data = get_my_data_ptr(get_dispatch_key(instance), layer_data_map);
277 startReadObject(my_data, instance);
279 my_data->instance_dispatch_table->CreateDebugReportCallbackEXT(instance, pCreateInfo, pAllocator, pMsgCallback);
283 finishReadObject(my_data, instance);
288 vkDestroyDebugReportCallbackEXT(VkInstance instance, VkDebugReportCallbackEXT callback, const VkAllocationCallbacks *pAllocator) {
289 layer_data *my_data = get_my_data_ptr(get_dispatch_key(instance), layer_data_map);
290 startReadObject(my_data, instance);
292 my_data->instance_dispatch_table->DestroyDebugReportCallbackEXT(instance, callback, pAllocator);
294 finishReadObject(my_data, instance);