Re: [Mesa-dev] [PATCH 3/6] st/clover: Unreference fences as early as possible

2013-09-06 Thread Niels Ole Salscheider
While unreferencing fences as early as possible is not a bad idea, this patch hides the underlying problem. That is, events are never deleted from the queued_events list of the queue object if their fences are signalled before the queue is flushed. I will send a patch that fixes the problem shor

[Mesa-dev] [PATCH 3/6] st/clover: Unreference fences as early as possible

2013-08-09 Thread Niels Ole Salscheider
This makes sure that there are not too many concurrent fences. Also, simplify status handling by keeping track of the current state. Signed-off-by: Niels Ole Salscheider --- src/gallium/state_trackers/clover/core/event.cpp | 29 +++- src/gallium/state_trackers/clover/core/ev