Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/auxiliary/util/
Du_upload_mgr.c57 int buffer_private_refcount; member
155 if (upload->buffer_private_refcount) { in u_upload_release_buffer()
159 assert(upload->buffer_private_refcount > 0); in u_upload_release_buffer()
161 -upload->buffer_private_refcount); in u_upload_release_buffer()
162 upload->buffer_private_refcount = 0; in u_upload_release_buffer()
235 upload->buffer_private_refcount = 1 + (size - min_size); in u_upload_alloc_buffer()
236 assert(upload->buffer_private_refcount < INT32_MAX / 2); in u_upload_alloc_buffer()
237 p_atomic_add(&upload->buffer->reference.count, upload->buffer_private_refcount); in u_upload_alloc_buffer()
311 assert (upload->buffer_private_refcount > 0); in u_upload_alloc()
312 upload->buffer_private_refcount--; in u_upload_alloc()