On Wed, Jul 13, 2016 at 6:28 PM, Rob Clark <[email protected]> wrote:
> Adds a second optional cleanup callback, called after the fence is
> signaled.  This is needed if, for example, the queue has the last
> reference to the object that embeds the util_queue_fence.  In this
> case we cannot drop the ref in the main callback, since that would
> result in the fence being destroyed before it is signaled.
>
> Signed-off-by: Rob Clark <[email protected]>
> ---
> Maybe adding util_queue_add_job2() is a bit overkill.. although I
> think Marek has some in-flight stuff using u_queue, so maybe this
> approach is less conflicty?

I have nothing in flight at the moment. My experimental patch doesn't count.

This looks good but I'd like to have only one util_queue_add_job function.

Marek
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to