Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_resource.h56 struct zink_resource_object { struct
95 struct zink_resource_object *obj; argument
96 struct zink_resource_object *scanout_obj; //TODO: remove for wsi
168 zink_resource_init_mem_range(struct zink_screen *screen, struct zink_resource_object *obj, VkDevice…
173 zink_destroy_resource_object(struct zink_screen *screen, struct zink_resource_object *resource_obje…
176 debug_describe_zink_resource_object(char *buf, const struct zink_resource_object *ptr);
180 struct zink_resource_object **dst, in zink_resource_object_reference()
181 struct zink_resource_object *src) in zink_resource_object_reference()
183 struct zink_resource_object *old_dst = dst ? *dst : NULL; in zink_resource_object_reference()
256 zink_resource_object_usage_unset(struct zink_resource_object *obj, struct zink_batch_state *bs) in zink_resource_object_usage_unset()
Dzink_batch.c38 struct zink_resource_object *obj = (struct zink_resource_object *)entry->key; in zink_reset_batch_state()
44 util_dynarray_append(&bs->unref_resources, struct zink_resource_object*, obj); in zink_reset_batch_state()
117 while (util_dynarray_contains(&bs->unref_resources, struct zink_resource_object*)) { in unref_resources()
118 …struct zink_resource_object *obj = util_dynarray_pop(&bs->unref_resources, struct zink_resource_ob… in unref_resources()
415 while (util_dynarray_contains(&bs->persistent_resources, struct zink_resource_object*)) { in submit_queue()
416 …struct zink_resource_object *obj = util_dynarray_pop(&bs->persistent_resources, struct zink_resour… in submit_queue()
640 … util_dynarray_append(&batch->state->persistent_resources, struct zink_resource_object*, res->obj); in zink_batch_resource_usage_set()
Dzink_resource.c80 debug_describe_zink_resource_object(char *buf, const struct zink_resource_object *ptr) in debug_describe_zink_resource_object()
86 zink_destroy_resource_object(struct zink_screen *screen, struct zink_resource_object *obj) in zink_destroy_resource_object()
438 static struct zink_resource_object *
442 struct zink_resource_object *obj = CALLOC_STRUCT(zink_resource_object); in resource_object_create()
847 struct zink_resource_object *obj = res->scanout_obj ? res->scanout_obj : res->obj; in zink_resource_get_param()
942 struct zink_resource_object *obj = res->scanout_obj ? res->scanout_obj : res->obj; in zink_resource_get_handle()
1029 struct zink_resource_object *old_obj = res->obj; in invalidate_buffer()
1030 …struct zink_resource_object *new_obj = resource_object_create(screen, &res->base.b, NULL, NULL, NU… in invalidate_buffer()
1092 zink_resource_init_mem_range(struct zink_screen *screen, struct zink_resource_object *obj, VkDevice… in zink_resource_init_mem_range()
1607 struct zink_resource_object *old_obj = res->obj; in zink_resource_object_init_storage()
[all …]
Dzink_descriptors.c69 struct zink_resource_object **res_objs;
669 struct zink_resource_object **res_objs = NULL; in allocate_desc_set()
682 res_objs = rzalloc_array(pool, struct zink_resource_object*, num_resources * bucket_size); in allocate_desc_set()
705 … zds->res_objs = (struct zink_resource_object**)&res_objs[i * pool->key.layout->num_descriptors]; in allocate_desc_set()
1527 struct zink_resource_object *obj = res ? res->obj : NULL; in calc_descriptor_state_hash_ubo()
1541 struct zink_resource_object *obj = res ? res->obj : NULL; in calc_descriptor_state_hash_ssbo()
/third_party/mesa3d/docs/relnotes/
D21.3.0.rst2939 - zink: repack zink_resource_object struct
2948 - zink: remove duplicated zink_resource_object::mem member
3253 - zink: switch remaining direct access of zink_resource_object::(reads|writes) to util
3254 - zink: remove reads/writes members from zink_resource_object
D21.2.0.rst4079 - zink: apply zink_resource_object::offset for memory flush/invalidates