Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/zink/
Dzink_surface.c258 struct hash_entry *entry = _mesa_hash_table_search_pre_hashed(&res->surface_cache, hash, ivci); in zink_get_surface()
266 … entry = _mesa_hash_table_insert_pre_hashed(&res->surface_cache, hash, &surface->ivci, surface); in zink_get_surface()
430 …struct hash_entry *he = _mesa_hash_table_search_pre_hashed(&res->surface_cache, surface->hash, &su… in zink_destroy_surface()
433 _mesa_hash_table_remove(&res->surface_cache, he); in zink_destroy_surface()
465 …struct hash_entry *new_entry = _mesa_hash_table_search_pre_hashed(&res->surface_cache, hash, &ivci… in zink_rebind_surface()
473 …struct hash_entry *entry = _mesa_hash_table_search_pre_hashed(&res->surface_cache, surface->hash, … in zink_rebind_surface()
475 _mesa_hash_table_remove(&res->surface_cache, entry); in zink_rebind_surface()
486 …entry = _mesa_hash_table_insert_pre_hashed(&res->surface_cache, surface->hash, &surface->ivci, sur… in zink_rebind_surface()
Dzink_types.h1341 struct hash_table surface_cache; member
Dzink_resource.c247 assert(!_mesa_hash_table_num_entries(&res->surface_cache)); in zink_resource_destroy()
249 ralloc_free(res->surface_cache.table); in zink_resource_destroy()
1699 _mesa_hash_table_init(&res->surface_cache, NULL, NULL, equals_ivci); in resource_create()