On Fri, Feb 19, 2010 at 10:59 AM, José Fonseca <jfons...@vmware.com> wrote: > On Fri, 2010-02-19 at 09:42 -0800, Kristian Høgsberg wrote: >> 2010/2/19 Kristian Høgsberg <k...@bitplanet.net>: >> > 2010/2/19 Brian Paul <brian.e.p...@gmail.com>: >> >> 2010/2/19 Kristian Høgsberg <k...@bitplanet.net>: >> >> >> >>> I applied the patches from Kenneth Graunke on the list for this. Can >> >>> we drop _mesa_malloc(), _mesa_calloc() and _mesa_free() and >> >>> _mesa_bzero() too? >> >> >> >> I've remove _mesa_bzero() just now, plus some other macro wrappers. >> >> >> >> We might as well remove the malloc/calloc() wrappers too, but that'll >> >> be a bit more work. >> > >> > I'm using: >> > >> > git grep -l _mesa_malloc | xargs sed -ie s/_mesa_malloc/malloc/g >> > >> > which does most of the work. I'll do the same thing for _mesa_calloc >> > and _mesa_free, review the result and commit that. >> >> All done. I was looking at the MALLOC, CALLOC, MALLOC_STRUCT, >> CALLOC_STRUCT, and FREE macros and the ALIGN_* macros for the >> _mesa_align_* functions. Do we want to drop those too? > > Given that we'll unify these for gallium and mesa it's better leave them > allone for now -- it will make it easier to search'n'replace when we do > that. > > I hope to get started on this task next week.
OK, disregard my other reply then. I forgot about this, Jose. -Brian ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev