Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/mesa/src/vulkan/device-select-layer/
Ddevice_select_layer.c59 static struct hash_table *device_select_instance_ht = NULL; variable
66 if (!device_select_instance_ht) in device_select_init_instances()
67 device_select_instance_ht = _mesa_hash_table_create(NULL, _mesa_hash_pointer, in device_select_init_instances()
76 if (device_select_instance_ht) { in device_select_try_free_ht()
77 if (_mesa_hash_table_num_entries(device_select_instance_ht) == 0) { in device_select_try_free_ht()
78 _mesa_hash_table_destroy(device_select_instance_ht, NULL); in device_select_try_free_ht()
79 device_select_instance_ht = NULL; in device_select_try_free_ht()
90 _mesa_hash_table_insert(device_select_instance_ht, instance, info); in device_select_layer_add_instance()
100 entry = _mesa_hash_table_search(device_select_instance_ht, (void *)instance); in device_select_layer_get_instance()
111 _mesa_hash_table_remove_key(device_select_instance_ht, instance); in device_select_layer_remove_instance()