Home
last modified time | relevance | path

Searched refs:layer_data_map (Results 1 – 11 of 11) sorted by relevance

/external/vulkan-validation-layers/layers/
Dvk_layer_data.h29 DATA_T *GetLayerDataPtr(void *data_key, std::unordered_map<void *, DATA_T *> &layer_data_map) { in GetLayerDataPtr() argument
34 got = layer_data_map.find(data_key); in GetLayerDataPtr()
36 if (got == layer_data_map.end()) { in GetLayerDataPtr()
38 layer_data_map[(void *)data_key] = debug_data; in GetLayerDataPtr()
47 void FreeLayerDataPtr(void *data_key, std::unordered_map<void *, DATA_T *> &layer_data_map) { in FreeLayerDataPtr() argument
48 auto got = layer_data_map.find(data_key); in FreeLayerDataPtr()
49 assert(got != layer_data_map.end()); in FreeLayerDataPtr()
52 layer_data_map.erase(got); in FreeLayerDataPtr()
Dthreading.cpp65 layer_data *my_data = GetLayerDataPtr(get_dispatch_key(*pInstance), layer_data_map); in CreateInstance()
83 layer_data *my_data = GetLayerDataPtr(key, layer_data_map); in DestroyInstance()
124 FreeLayerDataPtr(key, layer_data_map); in DestroyInstance()
129 layer_data *my_instance_data = GetLayerDataPtr(get_dispatch_key(gpu), layer_data_map); in CreateDevice()
148 layer_data *my_device_data = GetLayerDataPtr(get_dispatch_key(*pDevice), layer_data_map); in CreateDevice()
160 layer_data *dev_data = GetLayerDataPtr(key, layer_data_map); in DestroyDevice()
173 FreeLayerDataPtr(key, layer_data_map); in DestroyDevice()
179 layer_data *my_data = GetLayerDataPtr(key, layer_data_map); in GetSwapchainImagesKHR()
233 layer_data *my_data = GetLayerDataPtr(key, layer_data_map); in EnumerateDeviceExtensionProperties()
246 layer_data *device_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in GetDeviceProcAddr()
[all …]
Dobject_tracker_utils.cpp27 std::unordered_map<void *, layer_data *> layer_data_map; variable
40 layer_data *device_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in AddQueueInfo()
59 layer_data *device_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DestroyQueueDataStructures()
85 layer_data *device_data = GetLayerDataPtr(get_dispatch_key(queue), layer_data_map); in ValidateQueueFlags()
90 …a *instance_data = GetLayerDataPtr(get_dispatch_key(device_data->physical_device), layer_data_map); in ValidateQueueFlags()
108 for (auto layer_data : layer_data_map) { in ValidateDeviceObject()
116 layer_data *instance_data = GetLayerDataPtr(get_dispatch_key(last_instance), layer_data_map); in ValidateDeviceObject()
124 layer_data *device_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in AllocateCommandBuffer()
146 layer_data *device_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in ValidateCommandBuffer()
171 layer_data *device_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in AllocateDescriptorSet()
[all …]
Dunique_objects.cpp83 layer_data *device_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DeviceExtensionWhitelist()
187 layer_data *my_device_data = GetLayerDataPtr(get_dispatch_key(*pDevice), layer_data_map); in CreateDevice()
203 layer_data *dev_data = GetLayerDataPtr(key, layer_data_map); in DestroyDevice()
208 FreeLayerDataPtr(key, layer_data_map); in DestroyDevice()
254 layer_data *device_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in GetDeviceProcAddr()
284 layer_data *device_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in CreateComputePipelines()
324 layer_data *device_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in CreateGraphicsPipelines()
404 layer_data *dev_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in CreateRenderPass()
421 layer_data *dev_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DestroyRenderPass()
435 layer_data *my_map_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in CreateSwapchainKHR()
[all …]
Dparameter_validation_utils.cpp82 std::unordered_map<void *, layer_data *> layer_data_map; variable
448 … layer_data *my_device_data = GetLayerDataPtr(get_dispatch_key(*pDevice), layer_data_map); in vkCreateDevice()
494 layer_data *device_data = GetLayerDataPtr(key, layer_data_map); in vkDestroyDevice()
504 FreeLayerDataPtr(key, layer_data_map); in vkDestroyDevice()
509 layer_data *device_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in pv_vkGetDeviceQueue()
527 layer_data *local_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in vkCreateCommandPool()
548 layer_data *device_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in vkCreateQueryPool()
574 layer_data *device_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in vkCreateRenderPass()
618 layer_data *device_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in vkDestroyRenderPass()
647 layer_data *device_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in pv_vkCreateBuffer()
[all …]
Dobject_tracker.h131 extern std::unordered_map<void *, layer_data *> layer_data_map;
165 … layer_data *device_data = GetLayerDataPtr(get_dispatch_key(dispatchable_object), layer_data_map); in ValidateObject()
172 for (auto other_device_data : layer_data_map) { in ValidateObject()
202 …layer_data *instance_data = GetLayerDataPtr(get_dispatch_key(dispatchable_object), layer_data_map); in CreateObject()
228 … layer_data *device_data = GetLayerDataPtr(get_dispatch_key(dispatchable_object), layer_data_map); in DestroyObject()
Dcore_validation.cpp179 static unordered_map<void *, layer_data *> layer_data_map; variable
2228 layer_data *device_data = GetLayerDataPtr(get_dispatch_key(*pDevice), layer_data_map); in CreateDevice()
2276 layer_data *dev_data = GetLayerDataPtr(key, layer_data_map); in DestroyDevice()
2307 FreeLayerDataPtr(key, layer_data_map); in DestroyDevice()
2919 layer_data *dev_data = GetLayerDataPtr(get_dispatch_key(queue), layer_data_map); in QueueSubmit()
2955 layer_data *dev_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in AllocateMemory()
3023 layer_data *dev_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in FreeMemory()
3209 layer_data *dev_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in WaitForFences()
3234 layer_data *dev_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in GetFenceStatus()
3261 layer_data *dev_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in GetDeviceQueue()
[all …]
Dunique_objects.h86 static std::unordered_map<void *, layer_data *> layer_data_map; variable
Dthreading.h369 static std::unordered_map<void *, layer_data *> layer_data_map;
/external/vulkan-validation-layers/tests/layers/
Dtest.cpp40 static std::unordered_map<void *, layer_data *> layer_data_map; variable
65 layer_data *instance_data = GetLayerDataPtr(get_dispatch_key(*pInstance), layer_data_map); in CreateInstance()
78 layer_data *instance_data = GetLayerDataPtr(key, layer_data_map); in DestroyInstance()
82 layer_data_map.erase(key); in DestroyInstance()
111 layer_data *instance_data = GetLayerDataPtr(get_dispatch_key(instance), layer_data_map); in GetInstanceProcAddr()
124 layer_data *instance_data = GetLayerDataPtr(get_dispatch_key(instance), layer_data_map); in GetPhysicalDeviceProcAddr()
Ddevice_profile_api.cpp59 …ataPtr(get_dispatch_key(device_profile_api_dev_data_map[physicalDevice].instance), layer_data_map); in GetOriginalPhysicalDeviceLimitsEXT()
85 …ataPtr(get_dispatch_key(device_profile_api_dev_data_map[physicalDevice].instance), layer_data_map); in GetOriginalPhysicalDeviceFormatPropertiesEXT()
121 layer_data *device_profile_data = GetLayerDataPtr(get_dispatch_key(*pInstance), layer_data_map); in CreateInstance()
170 …ataPtr(get_dispatch_key(device_profile_api_dev_data_map[physicalDevice].instance), layer_data_map); in GetPhysicalDeviceFormatProperties()