projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gallium/hash_table: consolidate hash tables with FD keys
[mesa.git]
/
src
/
gallium
/
auxiliary
/
util
/
u_hash_table.h
diff --git
a/src/gallium/auxiliary/util/u_hash_table.h
b/src/gallium/auxiliary/util/u_hash_table.h
index cf0c58cd2875125a44258e192b808ef16e9d8111..7db87c4367b6668f4d6487dd997250c15c714c50 100644
(file)
--- a/
src/gallium/auxiliary/util/u_hash_table.h
+++ b/
src/gallium/auxiliary/util/u_hash_table.h
@@
-66,6
+66,13
@@
struct util_hash_table *
util_hash_table_create_ptr_keys(void);
+/**
+ * Create a hash table where the keys are device FDs.
+ */
+struct util_hash_table *
+util_hash_table_create_fd_keys(void);
+
+
enum pipe_error
util_hash_table_set(struct util_hash_table *ht,
void *key,