Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_surface.c176 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()
Dzink_resource.h131 struct hash_table surface_cache; member
Dzink_resource.c114 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()