Re: [Mesa-dev] [PATCH] st/mesa: implement "zombie" sampler views (v2)

2019-03-18 Thread Roland Scheidegger
Reviewed-by: Roland Scheidegger Am 15.03.19 um 22:12 schrieb Brian Paul: > When st_texture_release_all_sampler_views() is called the texture may > have sampler views belonging to several contexts. If we unreference a > sampler view and its refcount hits zero, we need to be sure to destroy > the

Re: [Mesa-dev] [PATCH] st/mesa: implement "zombie" sampler views (v2)

2019-03-17 Thread Jose Fonseca
On 15/03/2019 21:12, Brian Paul wrote: When st_texture_release_all_sampler_views() is called the texture may have sampler views belonging to several contexts. If we unreference a sampler view and its refcount hits zero, we need to be sure to destroy the sampler view with the same context which c

[Mesa-dev] [PATCH] st/mesa: implement "zombie" sampler views (v2)

2019-03-15 Thread Brian Paul
When st_texture_release_all_sampler_views() is called the texture may have sampler views belonging to several contexts. If we unreference a sampler view and its refcount hits zero, we need to be sure to destroy the sampler view with the same context which created it. This was not the case with th