Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/util/
Du_helpers.c252 t->flush_index == i ? " [flush]" : "", in util_dump_throttle_ring()
286 while (t->wait_index != t->flush_index && in util_throttle_memory_usage()
310 if (t->ring[t->flush_index].mem_usage && in util_throttle_memory_usage()
311 t->ring[t->flush_index].mem_usage + memory_size > in util_throttle_memory_usage()
314 &t->ring[t->flush_index].fence; in util_throttle_memory_usage()
320 t->flush_index = (t->flush_index + 1) % ring_size; in util_throttle_memory_usage()
323 if (t->flush_index == t->wait_index) { in util_throttle_memory_usage()
335 assert(!t->ring[t->flush_index].mem_usage); in util_throttle_memory_usage()
336 assert(!t->ring[t->flush_index].fence); in util_throttle_memory_usage()
339 t->ring[t->flush_index].mem_usage += memory_size; in util_throttle_memory_usage()
Du_helpers.h95 unsigned flush_index; member