Home
last modified time | relevance | path

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

/external/skqp/src/compute/skc/
Dsuballocator.c128 skc_subbuf_size_t const size_ru = (skc_subbuf_size_t)SKC_ROUND_UP_POW2(size,suballocator->align); in skc_suballocator_subbuf_alloc() local
132 *subbuf_size = size_ru; in skc_suballocator_subbuf_alloc()
153 if (avail->size == size_ru) // size matches exactly in skc_suballocator_subbuf_alloc()
155 suballocator->total += size_ru; in skc_suballocator_subbuf_alloc()
160 SKC_SUBALLOCATOR_DEBUG_ALLOC(suballocator,avail_id,size_ru); in skc_suballocator_subbuf_alloc()
185 …else if ((avail->size > size_ru) && (spare_rem > 0)) // requested is less than available so split … in skc_suballocator_subbuf_alloc()
187 suballocator->total += size_ru; in skc_suballocator_subbuf_alloc()
201 SKC_SUBALLOCATOR_DEBUG_ALLOC(suballocator,spare_id,size_ru); in skc_suballocator_subbuf_alloc()
212 spare->size = size_ru; in skc_suballocator_subbuf_alloc()
219 avail->size -= size_ru; in skc_suballocator_subbuf_alloc()
[all …]