Re: [Mesa-dev] [PATCH 4/6] meta: Cleanup the resources we allocate.

2012-05-25 Thread Ian Romanick
On 05/24/2012 06:29 PM, Stéphane Marchesin wrote: From: Antoine Labour When we have multiple shared contexts, and one of them is long-running, this will lead to never freeing those resources since they are shared. Instead, free them right away on context destruction since we know the other conte

[Mesa-dev] [PATCH 4/6] meta: Cleanup the resources we allocate.

2012-05-24 Thread Stéphane Marchesin
From: Antoine Labour When we have multiple shared contexts, and one of them is long-running, this will lead to never freeing those resources since they are shared. Instead, free them right away on context destruction since we know the other context isn't using them. --- src/mesa/drivers/common/m