Searched refs:surface_cache (Results 1 – 3 of 3) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_surface.c | 176 struct hash_entry *entry = _mesa_hash_table_search_pre_hashed(&res->surface_cache, hash, ivci); in zink_get_surface() 184 … entry = _mesa_hash_table_insert_pre_hashed(&res->surface_cache, hash, &surface->ivci, surface); in zink_get_surface() 289 …struct hash_entry *he = _mesa_hash_table_search_pre_hashed(&res->surface_cache, surface->hash, &su… in zink_destroy_surface() 292 _mesa_hash_table_remove(&res->surface_cache, he); in zink_destroy_surface() 329 …struct hash_entry *new_entry = _mesa_hash_table_search_pre_hashed(&res->surface_cache, hash, &ivci… in zink_rebind_surface() 342 …struct hash_entry *entry = _mesa_hash_table_search_pre_hashed(&res->surface_cache, surface->hash, … in zink_rebind_surface() 344 _mesa_hash_table_remove(&res->surface_cache, entry); in zink_rebind_surface() 353 …entry = _mesa_hash_table_insert_pre_hashed(&res->surface_cache, surface->hash, &surface->ivci, sur… in zink_rebind_surface()
|
D | zink_resource.h | 131 struct hash_table surface_cache; member
|
D | zink_resource.c | 114 assert(!_mesa_hash_table_num_entries(&res->surface_cache)); in zink_resource_destroy() 814 _mesa_hash_table_init(&res->surface_cache, res, NULL, equals_ivci); in resource_create()
|