[Mesa-dev] [PATCH] glx: implement drawable refcounting.

Adam Jackson ajax at redhat.com
Fri Jun 17 09:06:00 PDT 2011


On 6/15/11 6:22 PM, Stéphane Marchesin wrote:
> The current dri context unbind logic will leak drawables until the process
> dies (they will then get released by the GEM code). There are two ways to fix
> this: either always call driReleaseDrawables every time we unbind a context
> (but that costs us round trips to the X server at getbuffers() time) or
> implement proper drawable refcounting. This patch implements the latter.
>
> Signed-off-by: Antoine Labour<piman at chromium.org>
> Signed-off-by: Stéphane Marchesin<marcheu at chromium.org>

Reviewed-by: Adam Jackson <ajax at redhat.com>

- ajax


More information about the mesa-dev mailing list