History log of /external/mesa3d/src/mesa/program/hash_table.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3c9fab88226af8360817c01ecde38348284e6ce7 25-May-2012 Antoine Labour <piman@chromium.org> mesa: Fix hash table leak

When a value was replaced, the new key was strdup'd and leaked.
To fix this, we modify the hash table implementation to return
whether the value was replaced and free() the (now useless)
duplicate string.
/external/mesa3d/src/mesa/program/hash_table.c
acd834fde2e604173985be5d44cb2cf2b0cd5673 17-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Add hash_table_replace

hash_table_replace doesn't use get_node to avoid having to hash the key twice.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/program/hash_table.c
1f8f8aef7f30156bbd906be36cdda2e05d8b0a7f 17-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> mesa: Refactor hash_table_{find,remove} to share some code

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/program/hash_table.c
b061b5ffb055c64ffc45e506bad877f47942ba01 23-Mar-2011 Eric Anholt <eric@anholt.net> hash_table: Add an iterator for doing things like cleanup of the HT.

Without this, consumers often have to keep linked lists of the
entries, at additional malloc cost.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/program/hash_table.c
afe125e0a18ac3886c45c7e6b02b122fb2d327b5 27-Jul-2010 Eric Anholt <eric@anholt.net> Merge remote branch 'origin/master' into glsl2

This pulls in multiple i965 driver fixes which will help ensure better
testing coverage during development, and also gets past the conflicts
of the src/mesa/shader -> src/mesa/program move.

Conflicts:
src/mesa/Makefile
src/mesa/main/shaderapi.c
src/mesa/main/shaderobj.h
ec2b92f98c2e7f161521b447cc1d9a36bce3707c 11-Jun-2010 Brian Paul <brianp@vmware.com> mesa: rename src/mesa/shader/ to src/mesa/program/
/external/mesa3d/src/mesa/program/hash_table.c