Home
last modified time | relevance | path

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

/external/virglrenderer/src/
Dvrend_object.c89 void vrend_ctx_resource_fini_table(struct util_hash_table *res_hash) in vrend_ctx_resource_fini_table() argument
91 util_hash_table_destroy(res_hash); in vrend_ctx_resource_fini_table()
132 void vrend_ctx_resource_insert(struct util_hash_table *res_hash, in vrend_ctx_resource_insert() argument
136 util_hash_table_set(res_hash, uintptr_to_pointer(res_id), res); in vrend_ctx_resource_insert()
139 void vrend_ctx_resource_remove(struct util_hash_table *res_hash, in vrend_ctx_resource_remove() argument
142 util_hash_table_remove(res_hash, uintptr_to_pointer(res_id)); in vrend_ctx_resource_remove()
145 struct vrend_resource *vrend_ctx_resource_lookup(struct util_hash_table *res_hash, in vrend_ctx_resource_lookup() argument
148 return util_hash_table_get(res_hash, uintptr_to_pointer(res_id)); in vrend_ctx_resource_lookup()
Dvrend_object.h45 void vrend_ctx_resource_fini_table(struct util_hash_table *res_hash);
47 void vrend_ctx_resource_insert(struct util_hash_table *res_hash,
50 void vrend_ctx_resource_remove(struct util_hash_table *res_hash,
52 struct vrend_resource *vrend_ctx_resource_lookup(struct util_hash_table *res_hash,
Dvrend_renderer.c715 struct util_hash_table *res_hash; member
6378 vrend_ctx_resource_fini_table(ctx->res_hash); in vrend_destroy_context()
6408 grctx->res_hash = vrend_ctx_resource_init_table(); in vrend_create_context()
10600 vrend_ctx_resource_insert(ctx->res_hash, in vrend_renderer_attach_res_ctx()
10625 vrend_ctx_resource_remove(ctx->res_hash, res->res_id); in vrend_renderer_detach_res_ctx()
10630 return vrend_ctx_resource_lookup(ctx->res_hash, res_handle); in vrend_renderer_ctx_res_lookup()
10981 vrend_ctx_resource_insert(ctx->res_hash, in vrend_renderer_pipe_resource_set_type()