Home
last modified time | relevance | path

Searched refs:stobj (Results 1 – 5 of 5) sorted by relevance

/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_bufferobjects.h91 struct st_buffer_object *stobj = st_buffer_object(obj); in st_get_buffer_reference() local
92 struct pipe_resource *buffer = stobj->buffer; in st_get_buffer_reference()
100 if (unlikely(stobj->ctx != ctx)) { in st_get_buffer_reference()
105 if (unlikely(stobj->private_refcount <= 0)) { in st_get_buffer_reference()
106 assert(stobj->private_refcount == 0); in st_get_buffer_reference()
109 stobj->private_refcount = 100000000; in st_get_buffer_reference()
110 p_atomic_add(&buffer->reference.count, stobj->private_refcount); in st_get_buffer_reference()
114 stobj->private_refcount--; in st_get_buffer_reference()
Dst_atom_sampler.c104 const struct st_texture_object *stobj = st_texture_object_const(texobj); in st_convert_sampler() local
106 const struct st_sampler_view *sv = st_texture_get_current_sampler_view(st, stobj); in st_convert_sampler()
Dst_draw_feedback.c199 struct st_buffer_object *stobj = st_buffer_object(bufobj); in st_feedback_draw_vbo() local
202 mapped_indices = pipe_buffer_map(pipe, stobj->buffer, in st_feedback_draw_vbo()
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_cache.c175 ir3_cache_invalidate(struct ir3_cache *cache, void *stobj) in ir3_cache_invalidate() argument
182 if ((key->fs == stobj) || (key->vs == stobj) || (key->ds == stobj) || in ir3_cache_invalidate()
183 (key->hs == stobj) || (key->gs == stobj)) { in ir3_cache_invalidate()
Dir3_cache.h78 void ir3_cache_invalidate(struct ir3_cache *cache, void *stobj);