[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dri-devel
Subject:    Re: [Dri-devel] glDeleteTextures memory leak
From:       Olivier Chapuis <olivier.chapuis () free ! fr>
Date:       2004-01-11 6:15:24
Message-ID: 20040111061524.GA13057 () snoopy ! folie
[Download RAW message or body]

On Fri, Jan 09, 2004 at 11:51:18AM -0700, Brian Paul wrote:
> Olivier Chapuis wrote:
> >Hello,
> >
> >I use "current cvs" from 2003-12-17 (dri - Mesa-newtree) on an Ati
> >Mobility M7 LW. When dri is enabled (OpenGL renderer string: Mesa DRI
> >Radeon 20030328 AGP 4xTCL) I get a memory leak when I load and unload
> >a texture.
> >
> >Attached an example program. Put it in Mesa-newtree progs/tests and
> >add an entry in the good make file. Then, run it and look at the
> >memory usage. Each time you type 'r' in the window, the texture is
> >reloaded 100 times and here this program use 6M more memory (each time).
> >
> >This problem does not happen if  LIBGL_ALWAYS_INDIRECT=1. This problem
> >does not happen with XFree-4.4.0-rc1.
> >
> 
> Olivier,
> 
> Can you try applying the attached patch to 
> src/mesa/drivers/dri/radeon/radeon_tex.c
>

I finally check out the good Mesa tree (Mesa and not Mesa-newtree),
apply your patch and install. It fixes the problem.
 
Regards, Olivier


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic