summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/mm.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg2010-02-191-8/+8
|
* Remove incorrect test from mmAllocMem.Michel Dänzer2008-09-221-1/+1
| | | | | 0 is a perfectly valid alignment shift, see e.g. driTexturesGone() which was broken by this.
* mesa: More signed/unsigned float/integer fixes.José Fonseca2008-09-211-10/+10
|
* mesa: Use appropriate unsigned/signed, float/integer types.José Fonseca2008-09-211-2/+2
|
* mesa: make mm.c use unsigned ints for offsets.Dave Airlie2008-06-171-4/+4
| | | | | If you have a GPU using this code and it has the offsets up in this space, this fails.
* Remove unused variable.Keith Whitwell2006-09-221-2/+0
|
* Add some asserts, fix some not-quite-bugs.Keith Whitwell2006-09-071-4/+12
|
* Fix mmFindBlock function.Michal Krol2006-08-021-1/+1
|
* Speedup the venerable mm.[ch] allocator with doubly linked lists and aKeith Whitwell2006-05-221-66/+118
| | | | separate list of free segments.
* Remove the many aliases for 'struct mem_block' in mm.hKeith Whitwell2005-11-281-31/+31
|
* Lots of clean-ups. Replace __inline__ with INLINE macro. Use theBrian Paul2005-10-181-26/+35
| | | | | _mesa_calloc(), _mesa_free() functions. Clean-up formatting, doxygen-style comments.
* Add _mesa_exec_malloc() and _mesa_exec_free() for allocatingKeith Whitwell2005-10-181-0/+211
executable memory. Based on Thomas Hellstrom's patch. TODO: glapi.c also needs this, but cannot access this code.