• Home
  • Raw
  • Download

Lines Matching refs:messenger

44    list_for_each_entry(struct vk_debug_utils_messenger, messenger,  in vk_debug_message()
46 if ((messenger->severity & severity) && in vk_debug_message()
47 (messenger->type & types)) in vk_debug_message()
48 messenger->callback(severity, types, pCallbackData, messenger->data); in vk_debug_message()
77 list_for_each_entry(struct vk_debug_utils_messenger, messenger, in vk_debug_message_instance()
79 if ((messenger->severity & severity) && in vk_debug_message_instance()
80 (messenger->type & types)) in vk_debug_message_instance()
81 messenger->callback(severity, types, &cbData, messenger->data); in vk_debug_message_instance()
94 struct vk_debug_utils_messenger *messenger = in vk_common_CreateDebugUtilsMessengerEXT() local
99 if (!messenger) in vk_common_CreateDebugUtilsMessengerEXT()
103 messenger->alloc = *pAllocator; in vk_common_CreateDebugUtilsMessengerEXT()
105 messenger->alloc = instance->alloc; in vk_common_CreateDebugUtilsMessengerEXT()
107 vk_object_base_init(NULL, &messenger->base, in vk_common_CreateDebugUtilsMessengerEXT()
110 messenger->severity = pCreateInfo->messageSeverity; in vk_common_CreateDebugUtilsMessengerEXT()
111 messenger->type = pCreateInfo->messageType; in vk_common_CreateDebugUtilsMessengerEXT()
112 messenger->callback = pCreateInfo->pfnUserCallback; in vk_common_CreateDebugUtilsMessengerEXT()
113 messenger->data = pCreateInfo->pUserData; in vk_common_CreateDebugUtilsMessengerEXT()
116 list_addtail(&messenger->link, &instance->debug_utils.callbacks); in vk_common_CreateDebugUtilsMessengerEXT()
119 *pMessenger = vk_debug_utils_messenger_to_handle(messenger); in vk_common_CreateDebugUtilsMessengerEXT()
143 VK_FROM_HANDLE(vk_debug_utils_messenger, messenger, _messenger); in vk_common_DestroyDebugUtilsMessengerEXT()
145 if (messenger == NULL) in vk_common_DestroyDebugUtilsMessengerEXT()
149 list_del(&messenger->link); in vk_common_DestroyDebugUtilsMessengerEXT()
152 vk_object_base_finish(&messenger->base); in vk_common_DestroyDebugUtilsMessengerEXT()
153 vk_free2(&instance->alloc, pAllocator, messenger); in vk_common_DestroyDebugUtilsMessengerEXT()