Lines Matching refs:instance_data
48 static void initUniqueObjects(layer_data *instance_data, const VkAllocationCallbacks *pAllocator) { in initUniqueObjects() argument
49 …layer_debug_actions(instance_data->report_data, instance_data->logging_callback, pAllocator, "goog… in initUniqueObjects()
55 layer_data *instance_data = get_my_data_ptr(get_dispatch_key(instance), layer_data_map); in checkInstanceRegisterExtensions() local
56 VkLayerInstanceDispatchTable *disp_table = instance_data->instance_dispatch_table; in checkInstanceRegisterExtensions()
98 layer_data *instance_data = get_my_data_ptr(get_dispatch_key(instance), layer_data_map); in checkInstanceRegisterExtensions() local
100 …log_msg(instance_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_UNK… in checkInstanceRegisterExtensions()
156 layer_data *instance_data = get_my_data_ptr(get_dispatch_key(*pInstance), layer_data_map); in CreateInstance() local
157 instance_data->instance = *pInstance; in CreateInstance()
158 instance_data->instance_dispatch_table = new VkLayerInstanceDispatchTable; in CreateInstance()
159 …layer_init_instance_dispatch_table(*pInstance, instance_data->instance_dispatch_table, fpGetInstan… in CreateInstance()
161 instance_data->instance = *pInstance; in CreateInstance()
162 instance_data->report_data = in CreateInstance()
163 …debug_report_create_instance(instance_data->instance_dispatch_table, *pInstance, pCreateInfo->enab… in CreateInstance()
167 …if (!layer_copy_tmp_callbacks(pCreateInfo->pNext, &instance_data->num_tmp_callbacks, &instance_dat… in CreateInstance()
168 &instance_data->tmp_callbacks)) { in CreateInstance()
169 if (instance_data->num_tmp_callbacks > 0) { in CreateInstance()
170 … if (layer_enable_tmp_callbacks(instance_data->report_data, instance_data->num_tmp_callbacks, in CreateInstance()
171 … instance_data->tmp_dbg_create_infos, instance_data->tmp_callbacks)) { in CreateInstance()
172 … layer_free_tmp_callbacks(instance_data->tmp_dbg_create_infos, instance_data->tmp_callbacks); in CreateInstance()
173 instance_data->num_tmp_callbacks = 0; in CreateInstance()
178 initUniqueObjects(instance_data, pAllocator); in CreateInstance()
182 if (instance_data->num_tmp_callbacks > 0) { in CreateInstance()
183 …layer_disable_tmp_callbacks(instance_data->report_data, instance_data->num_tmp_callbacks, instance… in CreateInstance()
184 layer_free_tmp_callbacks(instance_data->tmp_dbg_create_infos, instance_data->tmp_callbacks); in CreateInstance()
185 instance_data->num_tmp_callbacks = 0; in CreateInstance()
193 layer_data *instance_data = get_my_data_ptr(key, layer_data_map); in DestroyInstance() local
194 VkLayerInstanceDispatchTable *disp_table = instance_data->instance_dispatch_table; in DestroyInstance()
199 while (instance_data->logging_callback.size() > 0) { in DestroyInstance()
200 VkDebugReportCallbackEXT callback = instance_data->logging_callback.back(); in DestroyInstance()
201 layer_destroy_msg_callback(instance_data->report_data, callback, pAllocator); in DestroyInstance()
202 instance_data->logging_callback.pop_back(); in DestroyInstance()
205 layer_debug_report_destroy_instance(instance_data->report_data); in DestroyInstance()
292 layer_data *instance_data = get_my_data_ptr(key, layer_data_map); in EnumerateDeviceExtensionProperties() local
293 …return instance_data->instance_dispatch_table->EnumerateDeviceExtensionProperties(physicalDevice, … in EnumerateDeviceExtensionProperties()
321 layer_data *instance_data = get_my_data_ptr(get_dispatch_key(instance), layer_data_map); in GetInstanceProcAddr() local
322 addr = debug_report_get_instance_proc_addr(instance_data->report_data, funcName); in GetInstanceProcAddr()
327 VkLayerInstanceDispatchTable *disp_table = instance_data->instance_dispatch_table; in GetInstanceProcAddr()
500 layer_data *instance_data = get_my_data_ptr(get_dispatch_key(instance), layer_data_map); in CreateDebugReportCallbackEXT() local
502 …instance_data->instance_dispatch_table->CreateDebugReportCallbackEXT(instance, pCreateInfo, pAlloc… in CreateDebugReportCallbackEXT()
505 …result = layer_create_msg_callback(instance_data->report_data, false, pCreateInfo, pAllocator, pMs… in CreateDebugReportCallbackEXT()
512 layer_data *instance_data = get_my_data_ptr(get_dispatch_key(instance), layer_data_map); in DestroyDebugReportCallbackEXT() local
513 …instance_data->instance_dispatch_table->DestroyDebugReportCallbackEXT(instance, callback, pAllocat… in DestroyDebugReportCallbackEXT()
514 layer_destroy_msg_callback(instance_data->report_data, callback, pAllocator); in DestroyDebugReportCallbackEXT()
520 layer_data *instance_data = get_my_data_ptr(get_dispatch_key(instance), layer_data_map); in DebugReportMessageEXT() local
521 …instance_data->instance_dispatch_table->DebugReportMessageEXT(instance, flags, objType, object, lo… in DebugReportMessageEXT()
535 … layer_data *instance_data = get_my_data_ptr(get_dispatch_key(my_map_data->gpu), layer_data_map); in CreateSwapchainKHR() local
537 …(VkSurfaceKHR)instance_data->unique_id_mapping[reinterpret_cast<const uint64_t &>(pCreateInfo->sur… in CreateSwapchainKHR()