summaryrefslogtreecommitdiffstats
path: root/src/mesa/sources.mak
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-11-06 23:18:41 -0800
committerChad Versace <[email protected]>2012-11-12 15:52:42 -0800
commit35fd61bd99c15c2e13d3945b41c4db7df6e64319 (patch)
tree23771a21726cb11bd292ba51a5e95022032c7af6 /src/mesa/sources.mak
parent1e8dd15311dab217d74c7c5d5a2dee6f6d7bf95e (diff)
mesa: Import a copy of the open-addressing hash table code I wrote.
Mesa's chaining hash table for object names is slow, and this should be much faster. I namespaced the functions under _mesa_*, to avoid visibility troubles that we may have had before with hash_table_* functions. v2: Move .c file to main/, const a few things, clean up loop conditions, add/extend some comments. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Chad Versace <[email protected]> Acked-by: Kenneth Graunke <[email protected]> (v1)
Diffstat (limited to 'src/mesa/sources.mak')
-rw-r--r--src/mesa/sources.mak1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/sources.mak b/src/mesa/sources.mak
index 93d466b440e..54e58c21b7e 100644
--- a/src/mesa/sources.mak
+++ b/src/mesa/sources.mak
@@ -50,6 +50,7 @@ MAIN_FILES = \
$(SRCDIR)main/getstring.c \
$(SRCDIR)main/glformats.c \
$(SRCDIR)main/hash.c \
+ $(SRCDIR)main/hash_table.c \
$(SRCDIR)main/hint.c \
$(SRCDIR)main/histogram.c \
$(SRCDIR)main/image.c \