On 25/03/2019 14:26, Brian Paul wrote: > On 03/23/2019 10:49 AM, Jose Fonseca wrote: >> Looks good to me. >> >> Reviewed-by: Jose Fonseca <jfons...@vmware.com> >> >> Though I wonder if this could happen also when not destroying the >> current context. (Ie, if we need zoombie textures too?) > > If we're not destroying the thread's current context, this patch > temporarily binds the context as the current one. If the contexts > textures are not shared, they'll be deleted. If they are shared, they > won't be deleted. I think that part is fairly straight-forward.
OK. Thinking more about it, we only need zombies for the sample views, not the textures themselves. Jose _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev