Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_bufmgr_ondemand.c54 unsigned mapcount; member
116 ++buf->mapcount; in pb_ondemand_buffer_map()
133 assert(buf->mapcount); in pb_ondemand_buffer_unmap()
134 if(buf->mapcount) in pb_ondemand_buffer_unmap()
135 --buf->mapcount; in pb_ondemand_buffer_unmap()
147 assert(!buf->mapcount); in pb_ondemand_buffer_instantiate()
163 if(!buf->mapcount) { in pb_ondemand_buffer_instantiate()
180 assert(!buf->mapcount); in pb_ondemand_buffer_validate()
181 if(buf->mapcount) in pb_ondemand_buffer_validate()
Dpb_buffer_fenced.c143 unsigned mapcount; member
472 !fenced_buf->mapcount && in fenced_manager_free_gpu_storage_locked()
723 ++fenced_buf->mapcount; in fenced_buffer_map()
742 assert(fenced_buf->mapcount); in fenced_buffer_unmap()
743 if(fenced_buf->mapcount) { in fenced_buffer_unmap()
746 --fenced_buf->mapcount; in fenced_buffer_unmap()
747 if(!fenced_buf->mapcount) in fenced_buffer_unmap()
795 assert(!fenced_buf->mapcount); in fenced_buffer_validate()
808 if(fenced_buf->mapcount) { in fenced_buffer_validate()
/external/libdrm/tests/radeon/
Drbo.c100 if (bo->mapcount++ != 0) { in rbo_map()
126 if (--bo->mapcount > 0) { in rbo_unmap()
Drbo.h35 unsigned mapcount; member