Re: [Mesa-dev] [PATCH] vl/dri3: fix a memory leak from front buffer

2016-07-21 Thread Christian König
Am 14.07.2016 um 17:02 schrieb Leo Liu: Inspired by fix for mem leak of vdpau interop, resource_from_handle set texture reference count, that need to be decreased and released, recall there is a similar case for DRI3, that is with VA-API glx extension, there is temporary TFP(texture from pixmap),

[Mesa-dev] [PATCH] vl/dri3: fix a memory leak from front buffer

2016-07-14 Thread Leo Liu
Inspired by fix for mem leak of vdpau interop, resource_from_handle set texture reference count, that need to be decreased and released, recall there is a similar case for DRI3, that is with VA-API glx extension, there is temporary TFP(texture from pixmap), we target it through dma-buf. leak happen