Home
last modified time | relevance | path

Searched refs:swapchain_private (Results 1 – 3 of 3) sorted by relevance

/third_party/mesa3d/src/vulkan/util/
Dvk_object.c169 if (unlikely(device->swapchain_private == NULL)) { in get_swapchain_private_data_locked()
174 device->swapchain_private = _mesa_pointer_hash_table_create(NULL); in get_swapchain_private_data_locked()
175 if (device->swapchain_private == NULL) in get_swapchain_private_data_locked()
180 _mesa_hash_table_search(device->swapchain_private, in get_swapchain_private_data_locked()
183 struct util_sparse_array *swapchain_private = in get_swapchain_private_data_locked() local
184 ralloc(device->swapchain_private, struct util_sparse_array); in get_swapchain_private_data_locked()
185 util_sparse_array_init(swapchain_private, sizeof(uint64_t), 8); in get_swapchain_private_data_locked()
187 entry = _mesa_hash_table_insert(device->swapchain_private, in get_swapchain_private_data_locked()
189 swapchain_private); in get_swapchain_private_data_locked()
194 struct util_sparse_array *swapchain_private = entry->data; in get_swapchain_private_data_locked() local
[all …]
Dvk_device.c97 device->swapchain_private = NULL; in vk_device_init()
110 if (device->swapchain_private) { in vk_device_finish()
111 hash_table_foreach(device->swapchain_private, entry) in vk_device_finish()
113 ralloc_free(device->swapchain_private); in vk_device_finish()
Dvk_device.h52 struct hash_table *swapchain_private; member